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 /src/DocumentAccessor.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 'src/DocumentAccessor.h')
-rw-r--r-- | src/DocumentAccessor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h index a3a939d0d..92440428e 100644 --- a/src/DocumentAccessor.h +++ b/src/DocumentAccessor.h @@ -14,6 +14,7 @@ class Document; /** */ + class DocumentAccessor : public Accessor { // Private so DocumentAccessor objects can not be copied DocumentAccessor(const DocumentAccessor &source) : Accessor(), props(source.props) {} @@ -21,7 +22,7 @@ class DocumentAccessor : public Accessor { protected: Document *pdoc; - PropSet &props; + PropertyGet &props; WindowID id; int lenDoc; @@ -37,7 +38,7 @@ protected: void Fill(int position); public: - DocumentAccessor(Document *pdoc_, PropSet &props_, WindowID id_=0) : + DocumentAccessor(Document *pdoc_, PropertyGet &props_, WindowID id_=0) : Accessor(), pdoc(pdoc_), props(props_), id(id_), lenDoc(-1), validLen(0), chFlags(0), chWhile(0), startSeg(0), startPosStyling(0), |