c84437b0d1
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@525 f5eea248-9336-0410-98b8-ebc06183d4e3
27 lines
655 B
C++
27 lines
655 B
C++
// 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;
|
|
virtual ~PropertyGet() {}
|
|
};
|
|
|
|
#ifdef SCI_NAMESPACE
|
|
}
|
|
#endif
|
|
|
|
#endif
|