diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/PropSet.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 61a4f4252..7524d90ba 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -33,15 +33,17 @@ public: PropSet *superPS; PropSet(); ~PropSet(); - void Set(const char *key, const char *val); - void Set(char *keyval); + void Set(const char *key, const char *val, int lenKey=-1, int lenVal=-1); + void Set(const char *keyVal); + void SetMultiple(const char *s); SString Get(const char *key); SString GetExpanded(const char *key); - SString Expand(const char *withvars); + SString Expand(const char *withVars); int GetInt(const char *key, int defaultValue=0); SString GetWild(const char *keybase, const char *filename); SString GetNewExpand(const char *keybase, const char *filename); void Clear(); + char *ToString(); // Caller must delete[] the return value bool GetFirst(char **key, char **val); bool GetNext(char **key, char **val); }; |