Update Russian translation (#3918)
[geany-mirror.git] / scintilla / include / ILoader.h
blob2fa69f527fc2623c5bfd579d562e8c8ee5e0ed27
1 // Scintilla source code edit control
2 /** @file ILoader.h
3 ** Interface for loading into a Scintilla document from a background thread.
4 **/
5 // Copyright 1998-2017 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 #ifndef ILOADER_H
9 #define ILOADER_H
11 #include "Sci_Position.h"
13 namespace Scintilla {
15 class ILoader {
16 public:
17 virtual int SCI_METHOD Release() = 0;
18 // Returns a status code from SC_STATUS_*
19 virtual int SCI_METHOD AddData(const char *data, Sci_Position length) = 0;
20 virtual void * SCI_METHOD ConvertToDocument() = 0;
25 #endif