yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ContentRegistry::Editors Namespace Reference

Registry for Editors (full workspace tabs). More...

Typedefs

using EditorFactory = std::function<std::unique_ptr<Editor>(const EditorDependencies&)>
 

Functions

void RegisterFactory (EditorFactory factory)
 
std::vector< std::unique_ptr< Editor > > CreateAll (const EditorDependencies &deps)
 
template<typename T >
void add ()
 

Detailed Description

Registry for Editors (full workspace tabs).

Typedef Documentation

◆ EditorFactory

using yaze::editor::ContentRegistry::Editors::EditorFactory = std::function<std::unique_ptr<Editor>(const EditorDependencies&)>

Definition at line 202 of file content_registry.h.

Function Documentation

◆ RegisterFactory()

void yaze::editor::ContentRegistry::Editors::RegisterFactory ( EditorFactory factory)

Definition at line 231 of file content_registry.cc.

Referenced by add().

◆ CreateAll()

std::vector< std::unique_ptr< Editor > > yaze::editor::ContentRegistry::Editors::CreateAll ( const EditorDependencies & deps)

Definition at line 236 of file content_registry.cc.

◆ add()

template<typename T >
void yaze::editor::ContentRegistry::Editors::add ( )

Definition at line 207 of file content_registry.h.

References RegisterFactory().

Here is the call graph for this function: