summaryrefslogtreecommitdiffabout
path: root/src/eyekinfig.h
Side-by-side diff
Diffstat (limited to 'src/eyekinfig.h') (more/less context) (show whitespace changes)
-rw-r--r--src/eyekinfig.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/eyekinfig.h b/src/eyekinfig.h
new file mode 100644
index 0000000..34f8d49
--- a/dev/null
+++ b/src/eyekinfig.h
@@ -0,0 +1,25 @@
+#ifndef __EYEKINFIG_H
+#define __EYEKINFIG_H
+
+#include <confuse.h>
+#include <string>
+
+class eyekinfig_t {
+ public:
+ std::string macaddress;
+ cfg_t *cfg;
+
+ eyekinfig_t(const std::string& ma);
+ ~eyekinfig_t();
+
+ std::string get_targetdir();
+ std::string get_upload_key();
+
+ std::string get_on_start_session();
+ std::string get_on_upload_photo();
+ std::string get_on_mark_last_photo_in_roll();
+
+ int get_umask();
+};
+
+#endif /* __EYEKINFIG_H */