summaryrefslogtreecommitdiff
path: root/server/src/macrolist.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/macrolist.h')
-rw-r--r--server/src/macrolist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/macrolist.h b/server/src/macrolist.h
index 6460f8b..4c73ded 100644
--- a/server/src/macrolist.h
+++ b/server/src/macrolist.h
@@ -33,6 +33,8 @@
#include "versionstr.h"
#include "mutex.h"
+#include "inotify.h"
+
#include "exception.h"
/**
@@ -67,7 +69,13 @@ public:
std::string getLatestVersion(std::string macro) throw(Exception);
private:
+ bool removeFile(std::string file);
+ void addFile(std::string file);
+ void updateFile(std::string file);
+ void updateList();
+
Mutex mutex;
+ INotify inotify;
std::string macropath;
};