diff options
| author | nyamatongwe <unknown> | 2009-07-21 09:05:43 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-07-21 09:05:43 +0000 | 
| commit | 7b7af48a7681ab335ba2c53ffa48ab053ddf4c86 (patch) | |
| tree | 6039e12ca6c8f447ca34fbe3c3b0195d4c3a2372 /include/WindowAccessor.h | |
| parent | f20e894bd45438901560b6838cea7d4639f1e5c6 (diff) | |
| download | scintilla-mirror-7b7af48a7681ab335ba2c53ffa48ab053ddf4c86.tar.gz | |
Using a much simpler property set implementation.
Accessor objects use the PropertyGet interface to access just the property
set methods they need.
Removed SString.
Diffstat (limited to 'include/WindowAccessor.h')
| -rw-r--r-- | include/WindowAccessor.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/include/WindowAccessor.h b/include/WindowAccessor.h index e107a0659..6f265f658 100644 --- a/include/WindowAccessor.h +++ b/include/WindowAccessor.h @@ -12,13 +12,14 @@ namespace Scintilla {  /**   */ +  class WindowAccessor : public Accessor {  	// Private so WindowAccessor objects can not be copied  	WindowAccessor(const WindowAccessor &source) : Accessor(), props(source.props) {}  	WindowAccessor &operator=(const WindowAccessor &) { return *this; }  protected:  	WindowID id; -	PropSet &props; +	PropertyGet &props;  	int lenDoc;  	char styleBuf[bufferSize]; @@ -30,7 +31,7 @@ protected:  	bool InternalIsLeadByte(char ch);  	void Fill(int position);  public: -	WindowAccessor(WindowID id_, PropSet &props_) :  +	WindowAccessor(WindowID id_, PropertyGet &props_) :   		Accessor(), id(id_), props(props_),   		lenDoc(-1), validLen(0), chFlags(0), chWhile(0) {  	} | 
