forked from bruderstein/PythonScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScintillaCallback.h
More file actions
25 lines (19 loc) · 524 Bytes
/
ScintillaCallback.h
File metadata and controls
25 lines (19 loc) · 524 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef SCINTILLACALLBACK_20140303_H
#define SCINTILLACALLBACK_20140303_H
namespace NppPythonScript
{
class ScintillaCallback
{
public:
ScintillaCallback(boost::python::object callback, bool isAsync)
: m_callback(callback),
m_isAsync(isAsync)
{}
boost::python::object getCallback() { return m_callback; }
bool isAsync() { return m_isAsync; }
private:
boost::python::object m_callback;
bool m_isAsync;
};
}
#endif // SCINTILLACALLBACK_20140303_H