]>
Commit | Line | Data |
---|---|---|
65ec6247 RD |
1 | // Scintilla source code edit control |
2 | /** @file PropSet.h | |
9e96e16f | 3 | ** An interface to the methods needed for access to property sets inside lexers. |
65ec6247 | 4 | **/ |
9e96e16f | 5 | // Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org> |
9ce192d4 RD |
6 | // The License.txt file describes the conditions under which this software may be distributed. |
7 | ||
8 | #ifndef PROPSET_H | |
9 | #define PROPSET_H | |
d134f170 | 10 | |
7e0c58e9 RD |
11 | #ifdef SCI_NAMESPACE |
12 | namespace Scintilla { | |
13 | #endif | |
14 | ||
9e96e16f | 15 | class PropertyGet { |
9ce192d4 | 16 | public: |
9e96e16f RD |
17 | virtual char *ToString() const=0; // Caller must delete[] the return value |
18 | virtual int GetInt(const char *key, int defaultValue=0) const=0; | |
19 | virtual ~PropertyGet() {} | |
9ce192d4 RD |
20 | }; |
21 | ||
7e0c58e9 RD |
22 | #ifdef SCI_NAMESPACE |
23 | } | |
24 | #endif | |
591d01be | 25 | |
9ce192d4 | 26 | #endif |