diff options
author | nyamatongwe <devnull@localhost> | 2011-10-26 16:54:05 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-10-26 16:54:05 +1100 |
commit | b0c6298f1a5b7a1b16a20ccd577f6e2318ae95ad (patch) | |
tree | ccffc12c65a182ec59140f049c1d0e9faace2152 /include/ILexer.h | |
parent | 576adef9a5df55d74e2730dc3ffb5db9f0a0a3f2 (diff) | |
download | scintilla-mirror-b0c6298f1a5b7a1b16a20ccd577f6e2318ae95ad.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 |