Editor API
UnigineEditor public API
Plugin.h
1 // Copyright (C), UNIGINE. All rights reserved.
2 #pragma once
3 
4 
5 #include <editor/EditorGlobal.h>
6 
7 #include <QtPlugin>
8 
9 
10 namespace Editor
11 {
12 
13 
17 class EDITOR_API Plugin
18 {
19 public:
20  Plugin();
21  virtual ~Plugin();
22 
25  virtual bool init() = 0;
27  virtual void shutdown() = 0;
28 };
29 
30 
31 } // namespace Editor
32 
33 Q_DECLARE_INTERFACE(Editor::Plugin, "com.unigine.EditorPlugin")
34 
Definition: Actions.h:11
This class is used for plugin interface implementation when creating Editor plugins....
Definition: Plugin.h:17