Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mirall/folder.h')
-rw-r--r--src/mirall/folder.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mirall/folder.h b/src/mirall/folder.h
index 62db681d4..d2165d631 100644
--- a/src/mirall/folder.h
+++ b/src/mirall/folder.h
@@ -23,13 +23,25 @@
#include "mirall/syncresult.h"
+
+/*
+ * Flag to enable the folder watcher instead of the local polling to detect
+ * changes in the local path.
+ */
+#define USE_WATCHER 1
+#ifdef Q_WS_WIN
+#define USE_WATCHER 0
+#endif
+
class QAction;
class QTimer;
class QIcon;
namespace Mirall {
+#ifdef USE_WATCHER
class FolderWatcher;
+#endif
class Folder : public QObject
{