diff options
author | nyamatongwe <unknown> | 2011-10-26 16:54:05 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-10-26 16:54:05 +1100 |
commit | 364b60217e9f79fb634e987302df94035c61558f (patch) | |
tree | 0270ed645dc3f748352379149cea607a6354f1a3 /include/ILexer.h | |
parent | 5c994706efdabc3fdd547d169ed99192decf67b5 (diff) | |
download | scintilla-mirror-364b60217e9f79fb634e987302df94035c61558f.tar.gz |
Implement ILoader interface so that clients can load documents from
background threads.
Diffstat (limited to 'include/ILexer.h')
-rw-r--r-- | include/ILexer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ILexer.h b/include/ILexer.h index b119ff649..e08b8701c 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -62,6 +62,14 @@ public: virtual void * SCI_METHOD PrivateCall(int operation, void *pointer) = 0; }; +class ILoader { +public: + virtual int SCI_METHOD Release() = 0; + // Returns a status code from SC_STATUS_* + virtual int SCI_METHOD AddData(char *data, int length) = 0; + virtual void * SCI_METHOD ConvertToDocument() = 0; +}; + #ifdef SCI_NAMESPACE } #endif |