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 | |||
@@ -32,6 +32,7 @@ public: | |||
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); |
@@ -39,10 +40,11 @@ public: | |||
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; |