From d6c7ef2346d60ad934231d6b4bf6d342b278a0d4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 21 Jul 2009 09:05:43 +0000 Subject: Using a much simpler property set implementation. Accessor objects use the PropertyGet interface to access just the property set methods they need. Removed SString. --- include/WindowAccessor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/WindowAccessor.h') 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) { } -- cgit v1.2.3