author | Michael Krelin <hacker@klever.net> | 2009-03-08 20:09:21 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2009-03-08 20:09:21 (UTC) |
commit | aadaa8b5d7eda23e72dbded9d6437b40358353f3 (patch) (unidiff) | |
tree | 0bff6fdde1e2b9be02b48aaf7d03f095604718e1 /src/eyekinfig.h | |
download | iii-0.0.zip iii-0.0.tar.gz iii-0.0.tar.bz2 |
Inital commit to public repository0.0
-rw-r--r-- | src/eyekinfig.h | 25 |
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 @@ | |||
1 | #ifndef __EYEKINFIG_H | ||
2 | #define __EYEKINFIG_H | ||
3 | |||
4 | #include <confuse.h> | ||
5 | #include <string> | ||
6 | |||
7 | class eyekinfig_t { | ||
8 | public: | ||
9 | std::string macaddress; | ||
10 | cfg_t *cfg; | ||
11 | |||
12 | eyekinfig_t(const std::string& ma); | ||
13 | ~eyekinfig_t(); | ||
14 | |||
15 | std::string get_targetdir(); | ||
16 | std::string get_upload_key(); | ||
17 | |||
18 | std::string get_on_start_session(); | ||
19 | std::string get_on_upload_photo(); | ||
20 | std::string get_on_mark_last_photo_in_roll(); | ||
21 | |||
22 | int get_umask(); | ||
23 | }; | ||
24 | |||
25 | #endif /* __EYEKINFIG_H */ | ||