1 // SciTE - Scintilla based Text Editor
2 /** @file ScintillaWindow.h
3  ** Interface to a Scintilla instance.
4  **/
5 // Copyright 1998-2018 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
7 
8 #ifndef SCINTILLAWINDOW_H
9 #define SCINTILLAWINDOW_H
10 
11 namespace GUI {
12 
13 class ScintillaWindow : public GUI::ScintillaPrimitive, public Scintilla::API::ScintillaCall {
14 public:
15 	ScintillaWindow() noexcept;
16 	~ScintillaWindow() override;
17 	// Deleted so ScintillaWindow objects can not be copied.
18 	ScintillaWindow(const ScintillaWindow &source) = delete;
19 	ScintillaWindow(ScintillaWindow &&) = delete;
20 	ScintillaWindow &operator=(const ScintillaWindow &) = delete;
21 	ScintillaWindow &operator=(ScintillaWindow &&) = delete;
22 
23 	void SetScintilla(GUI::WindowID wid_);
24 	bool CanCall() const noexcept;
25 };
26 
27 }
28 
29 
30 #endif
31