author | mickeyl <mickeyl> | 2004-04-19 13:56:14 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-19 13:56:14 (UTC) |
commit | 13b62b4e8c613b9f876bd70d519a2a85186dba7a (patch) (side-by-side diff) | |
tree | c52e051c23dca89efc3bb3e468f9033d342f15e8 /libopie2/opiecore/ofilenotify.h | |
parent | 2add0a39efab1af658ab3515090b31fba30df0d5 (diff) | |
download | opie-13b62b4e8c613b9f876bd70d519a2a85186dba7a.zip opie-13b62b4e8c613b9f876bd70d519a2a85186dba7a.tar.gz opie-13b62b4e8c613b9f876bd70d519a2a85186dba7a.tar.bz2 |
First milestone reached:
File notification now works for Access and Modify of existing files.
Next milestone: Rename and Attrib on existing files.
Diffstat (limited to 'libopie2/opiecore/ofilenotify.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/ofilenotify.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiecore/ofilenotify.h b/libopie2/opiecore/ofilenotify.h index 3bc141d..5315896 100644 --- a/libopie2/opiecore/ofilenotify.h +++ b/libopie2/opiecore/ofilenotify.h @@ -75,7 +75,8 @@ class OFileNotification : public QObject void triggered(); protected: - void activate(); + bool activate(); + bool hasChanged(); static bool registerSignalHandler(); static void unregisterSignalHandler(); static void __signalHandler( int sig, siginfo_t *si, void *data ); @@ -86,6 +87,7 @@ class OFileNotification : public QObject QSignal _signal; int _fd; bool _active; + struct stat _stat; }; } |