Diffstat (limited to 'libopie2/opiecore/linux/ofilenotify.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/linux/ofilenotify.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libopie2/opiecore/linux/ofilenotify.h b/libopie2/opiecore/linux/ofilenotify.h index 05343b9..17e6b5d 100644 --- a/libopie2/opiecore/linux/ofilenotify.h +++ b/libopie2/opiecore/linux/ofilenotify.h | |||
@@ -112,4 +112,5 @@ class OFileNotificationEvent; | |||
112 | enum OFileNotificationType | 112 | enum OFileNotificationType |
113 | { | 113 | { |
114 | Nothing = 0, | ||
114 | Access = IN_ACCESS, | 115 | Access = IN_ACCESS, |
115 | Modify = IN_MODIFY, | 116 | Modify = IN_MODIFY, |
@@ -199,4 +200,8 @@ class OFileNotification : public QObject | |||
199 | QString path() const; | 200 | QString path() const; |
200 | /** | 201 | /** |
202 | * @returns if the notification is single-shot | ||
203 | */ | ||
204 | bool isSingleShot() const; | ||
205 | /** | ||
201 | * @returns if a file is currently being watched. | 206 | * @returns if a file is currently being watched. |
202 | **/ | 207 | **/ |
@@ -293,4 +298,12 @@ class ODirNotification : public QObject | |||
293 | void deleted( const QString& ); | 298 | void deleted( const QString& ); |
294 | void unmounted( const QString& ); | 299 | void unmounted( const QString& ); |
300 | |||
301 | private slots: | ||
302 | void subdirCreated( const QString&, const QString& ); | ||
303 | |||
304 | private: | ||
305 | OFileNotification* _topfilenotification; | ||
306 | OFileNotificationType _type; | ||
307 | int _depth; | ||
295 | }; | 308 | }; |
296 | 309 | ||