xref: /MusicPlayer2/scintilla/lexlib/PropSetSimple.h (revision 443d2d2511be730d1b1dd3181942b7fa6539aa1a)
1 // Scintilla source code edit control
2 /** @file PropSetSimple.h
3  ** A basic string to string map.
4  **/
5 // Copyright 1998-2009 by Neil Hodgson <[email protected]>
6 // The License.txt file describes the conditions under which this software may be distributed.
7 
8 #ifndef PROPSETSIMPLE_H
9 #define PROPSETSIMPLE_H
10 
11 namespace Scintilla {
12 
13 class PropSetSimple {
14 	void *impl;
15 	void Set(const char *keyVal);
16 public:
17 	PropSetSimple();
18 	virtual ~PropSetSimple();
19 	void Set(const char *key, const char *val, size_t lenKey, size_t lenVal);
20 	void SetMultiple(const char *);
21 	const char *Get(const char *key) const;
22 	size_t GetExpanded(const char *key, char *result) const;
23 	int GetInt(const char *key, int defaultValue=0) const;
24 };
25 
26 }
27 
28 #endif
29