aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/PropSet.h
blob: bb24e2ac46f8a384ad0729b2ff881b631547739b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Scintilla source code edit control
/** @file PropSet.h
 ** An interface to the methods needed for access to property sets inside lexers.
 **/
// Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.

#ifndef PROPSET_H
#define PROPSET_H

#ifdef SCI_NAMESPACE
namespace Scintilla {
#endif

class PropertyGet {
public:
	virtual char *ToString() const=0;	// Caller must delete[] the return value
	virtual int GetInt(const char *key, int defaultValue=0) const=0;
};

#ifdef SCI_NAMESPACE
}
#endif

#endif