From 416476290c88d15ac7297989f77fac50f5c9fcef Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 4 Apr 2000 13:35:59 +0000 Subject: Avoid lots of warnings from Borland C++. Changed name of interface class defined in Accessor.h to Accessor. --- include/Accessor.h | 6 +++--- include/KeyWords.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/Accessor.h b/include/Accessor.h index fc67f07c0..b420397e2 100644 --- a/include/Accessor.h +++ b/include/Accessor.h @@ -5,12 +5,12 @@ enum { wsSpace = 1, wsTab = 2, wsSpaceTab = 4, wsInconsistent=8}; -class BufferAccess; +class Accessor; -typedef bool (*PFNIsCommentLeader)(BufferAccess &styler, int pos, int len); +typedef bool (*PFNIsCommentLeader)(Accessor &styler, int pos, int len); // Interface to data in a Scintilla -class BufferAccess { +class Accessor { public: virtual void SetCodePage(int codePage_)=0; virtual char operator[](int position)=0; diff --git a/include/KeyWords.h b/include/KeyWords.h index 65c54379b..3159dcc1b 100644 --- a/include/KeyWords.h +++ b/include/KeyWords.h @@ -4,7 +4,7 @@ // The License.txt file describes the conditions under which this software may be distributed. typedef void (*LexerFunction)(unsigned int startPos, int lengthDoc, int initStyle, - WordList *keywordlists[], BufferAccess &styler); + WordList *keywordlists[], Accessor &styler); class LexerModule { static LexerModule *base; @@ -14,7 +14,7 @@ class LexerModule { public: LexerModule(int language_, LexerFunction fn_); static void Colourise(unsigned int startPos, int lengthDoc, int initStyle, - int language, WordList *keywordlists[], BufferAccess &styler); + int language, WordList *keywordlists[], Accessor &styler); }; inline bool iswordchar(char ch) { -- cgit v1.2.3