diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
| commit | 0305cbdc3ae8525c74b2bb9b23884035549e3407 (patch) | |
| tree | b7eafbfbc759adeed8731227bd7f6cedd3f5ed05 /src/Util.hh | |
| parent | 60b2990e397faccd6a2f4f1cf7f2285e45fb1876 (diff) | |
add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
Diffstat (limited to 'src/Util.hh')
| -rw-r--r-- | src/Util.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Util.hh b/src/Util.hh index 1536226c..2a40308d 100644 --- a/src/Util.hh +++ b/src/Util.hh @@ -99,4 +99,13 @@ struct PointerAssassin { } }; +std::string itostring(unsigned long i); +std::string itostring(long i); +inline std::string itostring(unsigned int i) { + return itostring((unsigned long) i); +} +inline std::string itostring(int i) { + return itostring((long) i); +} + #endif |
