Diffstat (limited to 'libopie2/opiecore/ofilenotify.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/ofilenotify.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libopie2/opiecore/ofilenotify.h b/libopie2/opiecore/ofilenotify.h index 5315896..13b5a6b 100644 --- a/libopie2/opiecore/ofilenotify.h +++ b/libopie2/opiecore/ofilenotify.h @@ -77,5 +77,5 @@ class OFileNotification : public QObject protected: bool activate(); - bool hasChanged(); + virtual bool hasChanged(); static bool registerSignalHandler(); static void unregisterSignalHandler(); @@ -91,4 +91,12 @@ class OFileNotification : public QObject }; + +class ODirectoryNotification : public OFileNotification +{ + public: + virtual bool hasChanged() { return true; }; +}; + + } } |