summaryrefslogtreecommitdiff
path: root/zen/dir_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/dir_watcher.h')
-rw-r--r--zen/dir_watcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/dir_watcher.h b/zen/dir_watcher.h
index df3c444c..a9898abb 100644
--- a/zen/dir_watcher.h
+++ b/zen/dir_watcher.h
@@ -9,6 +9,7 @@
#include <vector>
#include <memory>
+#include <functional>
#include "file_error.h"
namespace zen
@@ -35,7 +36,7 @@ public:
~DirWatcher();
//extract accumulated changes since last call
- std::vector<Zstring> getChanges(); //throw FileError
+ std::vector<Zstring> getChanges(const std::function<void()>& processGuiMessages); //throw FileError
private:
DirWatcher(const DirWatcher&);
bgstack15