diff options
Diffstat (limited to 'RealtimeSync/watcher.h')
-rw-r--r-- | RealtimeSync/watcher.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/RealtimeSync/watcher.h b/RealtimeSync/watcher.h index 1655eebf..2f3990c2 100644 --- a/RealtimeSync/watcher.h +++ b/RealtimeSync/watcher.h @@ -8,16 +8,16 @@ namespace RealtimeSync { - const int UI_UPDATE_INTERVAL = 100; //perform ui updates not more often than necessary, 100 seems to be a good value with only a minimal performance loss +const int UI_UPDATE_INTERVAL = 100; //perform ui updates not more often than necessary, 100 seems to be a good value with only a minimal performance loss - class WaitCallback - { - public: - virtual ~WaitCallback() {} - virtual void requestUiRefresh() = 0; //opportunity to abort must be implemented in a frequently executed method like requestUiRefresh() - }; +class WaitCallback +{ +public: + virtual ~WaitCallback() {} + virtual void requestUiRefresh() = 0; //opportunity to abort must be implemented in a frequently executed method like requestUiRefresh() +}; - void waitForChanges(const std::vector<wxString>& dirNames, WaitCallback* statusHandler); //throw(FreeFileSync::FileError); +void waitForChanges(const std::vector<wxString>& dirNames, WaitCallback* statusHandler); //throw(FreeFileSync::FileError); } #endif // WATCHER_H_INCLUDED |