author | andyq <andyq> | 2003-01-21 20:37:00 (UTC) |
---|---|---|
committer | andyq <andyq> | 2003-01-21 20:37:00 (UTC) |
commit | 0a6563fcc2f49857c581d9def24407a3a4ef526c (patch) (unidiff) | |
tree | f1b82a4bd7582ef2cb722cffb87eecff1e1f96e6 /noncore/games/sfcave-sdl/settings.h | |
parent | 50b5915b48fc5cbacf23e4d2b75d7a266f141a4a (diff) | |
download | opie-0a6563fcc2f49857c581d9def24407a3a4ef526c.zip opie-0a6563fcc2f49857c581d9def24407a3a4ef526c.tar.gz opie-0a6563fcc2f49857c581d9def24407a3a4ef526c.tar.bz2 |
Clean up of code - fixed memory leaks (most of them) and added new custom config menu
Diffstat (limited to 'noncore/games/sfcave-sdl/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/sfcave-sdl/settings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/sfcave-sdl/settings.h b/noncore/games/sfcave-sdl/settings.h index 5e828ed..a3af999 100644 --- a/noncore/games/sfcave-sdl/settings.h +++ b/noncore/games/sfcave-sdl/settings.h | |||
@@ -29,23 +29,25 @@ public: | |||
29 | 29 | ||
30 | bool readSetting(const string key_str,string& results); | 30 | bool readSetting(const string key_str,string& results); |
31 | bool readSetting(const string key_str,int& result); | 31 | bool readSetting(const string key_str,int& result); |
32 | bool readSetting(const string key_str,unsigned int& result); | 32 | bool readSetting(const string key_str,unsigned int& result); |
33 | bool readSetting(const string key_str,long int& result); | 33 | bool readSetting(const string key_str,long int& result); |
34 | bool readSetting(const string key_str,unsigned long& result); | 34 | bool readSetting(const string key_str,unsigned long& result); |
35 | bool readSetting(const string key_str,double & result); | ||
35 | bool readSetting(const string key_str,bool& result); | 36 | bool readSetting(const string key_str,bool& result); |
36 | 37 | ||
37 | void writeSetting(const string key_str,const string value); | 38 | void writeSetting(const string key_str,const string value); |
38 | void writeSetting(const string key_str,const int value); | 39 | void writeSetting(const string key_str,const int value); |
39 | void writeSetting(const string key_str,const unsigned int result); | 40 | void writeSetting(const string key_str,const unsigned int result); |
40 | void writeSetting(const string key_str,const long int result); | 41 | void writeSetting(const string key_str,const long int result); |
41 | void writeSetting(const string key_str,const unsigned long result); | 42 | void writeSetting(const string key_str,const unsigned long result); |
43 | void writeSetting(const string key_str,const double value); | ||
42 | void writeSetting(const string key_str,const bool value); | 44 | void writeSetting(const string key_str,const bool value); |
43 | 45 | ||
44 | void deleteFile(void); | 46 | void deleteFile(void); |
45 | 47 | ||
46 | private: | 48 | private: |
47 | 49 | ||
48 | string envFile; | 50 | string envFile; |
49 | }; | 51 | }; |
50 | 52 | ||
51 | 53 | ||