|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
#include <EditorExtension.h>
Public Types | |
| using | FactoryFunc = std::function<std::unique_ptr<CustomEditor>()> |
Public Member Functions | |
| CustomEditorRegistry (const CustomEditorRegistry &)=delete | |
| CustomEditorRegistry & | operator= (const CustomEditorRegistry &)=delete |
| void | RegisterFactory (const std::string &componentName, FactoryFunc factory) |
| void | Register (CustomEditor *editor) |
| CustomEditor * | GetEditorForComponent (const std::string &componentName, DekiComponent *comp) |
| CustomEditor * | GetEditorForComponent (const char *componentName, DekiComponent *comp) |
| void | ClearCache () |
| void | ClearCacheForComponent (DekiComponent *comp) |
| void | Clear () |
Static Public Member Functions | |
| static CustomEditorRegistry & | Instance () |
| using DekiEditor::CustomEditorRegistry::FactoryFunc = std::function<std::unique_ptr<CustomEditor>()> |
|
delete |
|
static |
|
delete |
| void DekiEditor::CustomEditorRegistry::RegisterFactory | ( | const std::string & | componentName, |
| FactoryFunc | factory ) |
| void DekiEditor::CustomEditorRegistry::Register | ( | CustomEditor * | editor | ) |
|
inline |
| CustomEditor * DekiEditor::CustomEditorRegistry::GetEditorForComponent | ( | const char * | componentName, |
| DekiComponent * | comp ) |
| void DekiEditor::CustomEditorRegistry::ClearCache | ( | ) |
| void DekiEditor::CustomEditorRegistry::ClearCacheForComponent | ( | DekiComponent * | comp | ) |
| void DekiEditor::CustomEditorRegistry::Clear | ( | ) |