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/folderwatcher_win.h')
-rw-r--r--src/mirall/folderwatcher_win.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mirall/folderwatcher_win.h b/src/mirall/folderwatcher_win.h
index f8dc5b9dc..85c728bd7 100644
--- a/src/mirall/folderwatcher_win.h
+++ b/src/mirall/folderwatcher_win.h
@@ -16,6 +16,7 @@
#define MIRALL_FOLDERWATCHER_WIN_H
#include <QThread>
+#include <windows.h>
namespace Mirall {
@@ -27,15 +28,19 @@ class WatcherThread : public QThread {
Q_OBJECT
public:
WatcherThread(const QString &path) :
- QThread(), _path(path) {}
+ QThread(), _path(path), _handle(0) {}
+ ~WatcherThread();
+
+protected:
void run();
signals:
- void changed();
+ void changed(const QString &path);
private:
QString _path;
+ HANDLE _handle;
};
class FolderWatcherPrivate : public QObject {