Rev 969 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 969 | Rev 1024 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | #include <string> |
27 | #include <string> |
| 28 | #include <map> |
28 | #include <map> |
| 29 | #include <fstream> |
29 | #include <fstream> |
| 30 | 30 | ||
| 31 | #include "../Tools/tools.h" |
31 | #include "../Tools/tools.h" |
| 32 | #include "../ |
32 | #include "../Logger/logger.h" |
| - | 33 | #include "../Threads/mutex.h" |
|
| 33 | 34 | ||
| 34 | ///FIXME: Do we need to make this threadsafe... |
35 | ///FIXME: Do we need to make this threadsafe... |
| 35 | 36 | ||
| 36 | class Settings |
37 | class Settings |
| 37 | { |
38 | { |
| Line 41... | Line 42... | ||
| 41 | static string get(string name); |
42 | static string get(string name); |
| 42 | 43 | ||
| 43 | private: |
44 | private: |
| 44 | static string myFilename; |
45 | static string myFilename; |
| 45 | static map<string, string> mySettings; |
46 | static map<string, string> mySettings; |
| - | 47 | static Mutex myMutex; |
|
| 46 | }; |
48 | }; |
| 47 | 49 | ||
| 48 | #endif /* _SETTINGS_H */ |
50 | #endif /* _SETTINGS_H */ |
| 49 | 51 | ||