diff options
Diffstat (limited to 'src/mirall/folderwatcher.h')
-rw-r--r-- | src/mirall/folderwatcher.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mirall/folderwatcher.h b/src/mirall/folderwatcher.h index a82ca23a7..27aa97997 100644 --- a/src/mirall/folderwatcher.h +++ b/src/mirall/folderwatcher.h @@ -22,8 +22,12 @@ #include <QTime> #include <QHash> +#include "mirall/folder.h" + class QTimer; +#ifdef USE_WATCHER class INotify; +#endif namespace Mirall { @@ -112,8 +116,9 @@ protected slots: private: bool _eventsEnabled; int _eventInterval; - +#ifdef USE_WATCHER INotify *_inotify; +#endif QString _root; // paths pending to notified // QStringList _pendingPaths; |