summaryrefslogtreecommitdiffabout
path: root/src/eyekinfig.h
authorMichael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
committer Michael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
commitaadaa8b5d7eda23e72dbded9d6437b40358353f3 (patch) (side-by-side diff)
tree0bff6fdde1e2b9be02b48aaf7d03f095604718e1 /src/eyekinfig.h
downloadiii-0.0.zip
iii-0.0.tar.gz
iii-0.0.tar.bz2
Inital commit to public repository0.0
Diffstat (limited to 'src/eyekinfig.h') (more/less context) (ignore 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 */