[FancyZones] Implement File Watcher (#8603)

* Implement File Watcher in FancyZones

* Simplify code, address PR comments

* Add check to result of CreateEventW

* Rebase fix

Removed unneeded newline. If we keep it now, VS will just remove it some other time.
This commit is contained in:
Ivan Stošić
2020-12-16 14:53:48 +01:00
committed by GitHub
parent 540e16b179
commit e2ca4177dd
7 changed files with 118 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ public:
return appZoneHistoryMap;
}
inline const std::wstring& GetZonesSettingsFileName() const
{
return zonesSettingsFileName;
}
bool AddDevice(const std::wstring& deviceId);
void CloneDeviceInfo(const std::wstring& source, const std::wstring& destination);
void UpdatePrimaryDesktopData(const std::wstring& desktopId);