From e6a135273d9a95da710e2b5987910d1243e084fd Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Fri, 18 Mar 2011 01:14:45 +0100 Subject: - introduce a tmp dir class and rm-rf util function - start a testcase for the folder watcher part --- src/mirall/folderwatcher.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/mirall/folderwatcher.h') diff --git a/src/mirall/folderwatcher.h b/src/mirall/folderwatcher.h index 830cfabf5..9f7e3c0e7 100644 --- a/src/mirall/folderwatcher.h +++ b/src/mirall/folderwatcher.h @@ -7,9 +7,6 @@ #include #include -#include "mirall/inotify.h" - -class QFileSystemWatcher; class INotify; namespace Mirall { @@ -20,13 +17,14 @@ Q_OBJECT public: FolderWatcher(const QString &path, QObject *parent = 0L); ~FolderWatcher(); + + QStringList folders() const; + signals: void folderChanged(const QString &path); protected slots: - //void slotDirectoryChanged(const QString &path); void slotDirectoryChanged(int mask, const QString &path); private: - QFileSystemWatcher *_watcher; QMutex _mutex; INotify *_inotify; }; -- cgit v1.2.3