diff options
author | nyamatongwe <devnull@localhost> | 2009-07-21 09:05:43 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-07-21 09:05:43 +0000 |
commit | d6c7ef2346d60ad934231d6b4bf6d342b278a0d4 (patch) | |
tree | 6039e12ca6c8f447ca34fbe3c3b0195d4c3a2372 /include/WindowAccessor.h | |
parent | 276e578482a2c83e16ac51d06058afa4213fccbc (diff) | |
download | scintilla-mirror-d6c7ef2346d60ad934231d6b4bf6d342b278a0d4.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) { } |