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