yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
extension_manager.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_SYSTEM_EXTENSION_MANAGER_H
2#define YAZE_APP_EDITOR_SYSTEM_EXTENSION_MANAGER_H
3
4#include <system/extension.h>
5
6#include <string>
7#include <vector>
8
9namespace yaze {
10namespace app {
11namespace editor {
12
14 public:
15 void LoadExtension(const std::string& filename, yaze_editor_context* context);
16 void RegisterExtension(yaze_extension* extension);
18 void ShutdownExtensions();
20
21 private:
22 std::vector<yaze_extension*> extensions_;
23};
24
25} // namespace editor
26} // namespace app
27} // namespace yaze
28
29#endif // YAZE_APP_EDITOR_SYSTEM_EXTENSION_MANAGER_H
void RegisterExtension(yaze_extension *extension)
std::vector< yaze_extension * > extensions_
void InitializeExtensions(yaze_editor_context *context)
void ExecuteExtensionUI(yaze_editor_context *context)
void LoadExtension(const std::string &filename, yaze_editor_context *context)
Definition common.cc:22
Extension editor context.
Definition yaze.h:25
Extension interface for Yaze.
Definition extension.h:29