Refactored: Reuse existing code
[TortoiseGit.git] / ext / scintilla / lexlib / PropSetSimple.h
blobde94f7fcb5e698d233a64c20d2fa87aed13e1144
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 <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 #ifndef PROPSETSIMPLE_H
9 #define PROPSETSIMPLE_H
11 #ifdef SCI_NAMESPACE
12 namespace Scintilla {
13 #endif
15 class PropSetSimple {
16 void *impl;
17 void Set(const char *keyVal);
18 public:
19 PropSetSimple();
20 virtual ~PropSetSimple();
21 void Set(const char *key, const char *val, int lenKey=-1, int lenVal=-1);
22 void SetMultiple(const char *);
23 const char *Get(const char *key) const;
24 int GetExpanded(const char *key, char *result) const;
25 int GetInt(const char *key, int defaultValue=0) const;
28 #ifdef SCI_NAMESPACE
30 #endif
32 #endif