diff options
| author | nyamatongwe <devnull@localhost> | 2007-07-24 08:14:06 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2007-07-24 08:14:06 +0000 | 
| commit | 5c8d9997e79ce61adbe653e639b7cfe22555a42d (patch) | |
| tree | fea0d82e1b9d5540aa260d1de83c504a23821cfd /include/PropSet.h | |
| parent | dd2aa9a5affd1cd54e97704f043d89f38e0db0fd (diff) | |
| download | scintilla-mirror-5c8d9997e79ce61adbe653e639b7cfe22555a42d.tar.gz | |
Changes to PropSet and PropSetFile make wild card suffixes work; evaluate
file patterns from the starting PropSet, and add some const corectness.
Diffstat (limited to 'include/PropSet.h')
| -rw-r--r-- | include/PropSet.h | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/include/PropSet.h b/include/PropSet.h index 4a845c263..91bc7072b 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -42,7 +42,6 @@ protected:  		}  		return ret;  	} -	static bool IncludesVar(const char *value, const char *key);  public:  	PropSet *superPS; @@ -52,12 +51,12 @@ public:  	void Set(const char *keyVal);  	void Unset(const char *key, int lenKey=-1);  	void SetMultiple(const char *s); -	SString Get(const char *key); -	SString GetExpanded(const char *key); -	SString Expand(const char *withVars, int maxExpands=100); -	int GetInt(const char *key, int defaultValue=0); +	SString Get(const char *key) const; +	SString GetExpanded(const char *key) const; +	SString Expand(const char *withVars, int maxExpands=100) const; +	int GetInt(const char *key, int defaultValue=0) const;  	void Clear(); -	char *ToString();	// Caller must delete[] the return value +	char *ToString() const;	// Caller must delete[] the return value  private:  	// copy-value semantics not implemented | 
