diff options
Diffstat (limited to 'zen/dir_watcher.cpp')
-rw-r--r-- | zen/dir_watcher.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/zen/dir_watcher.cpp b/zen/dir_watcher.cpp index 17efda00..1945ada7 100644 --- a/zen/dir_watcher.cpp +++ b/zen/dir_watcher.cpp @@ -22,7 +22,7 @@ #elif defined ZEN_MAC //#include <sys/types.h> -#include <sys/event.h> +//#include <sys/event.h> //#include <sys/time.h> #include "file_traverser.h" #endif @@ -519,6 +519,13 @@ std::vector<DirWatcher::Entry> DirWatcher::getChanges(const std::function<void() } #elif defined ZEN_MAC +warn_static("finish"); +struct DirWatcher::Pimpl {}; +DirWatcher::DirWatcher(const Zstring& directory) {} +DirWatcher::~DirWatcher() {} +std::vector<DirWatcher::Entry> DirWatcher::getChanges(const std::function<void()>&) { return std::vector<DirWatcher::Entry>(); } + +#if 0 namespace { class DirsOnlyTraverser : public zen::TraverseCallback @@ -694,3 +701,6 @@ std::vector<DirWatcher::Entry> DirWatcher::getChanges(const std::function<void() return output; } #endif + + +#endif |