]> git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/include/PropSet.h
Use wxMarkupParser in wxStaticText for dealing with markup.
[wxWidgets.git] / src / stc / scintilla / include / PropSet.h
1 // Scintilla source code edit control
2 /** @file PropSet.h
3 ** An interface to the methods needed for access to property sets inside lexers.
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.
7
8 #ifndef PROPSET_H
9 #define PROPSET_H
10
11 #ifdef SCI_NAMESPACE
12 namespace Scintilla {
13 #endif
14
15 class PropertyGet {
16 public:
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() {}
20 };
21
22 #ifdef SCI_NAMESPACE
23 }
24 #endif
25
26 #endif