neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::DesignStudio::i_project_manager Class Referenceabstract

#include <i_project_manager.hpp>

Inheritance diagram for neogfx::DesignStudio::i_project_manager:
neogfx::DesignStudio::project_manager

Classes

struct  element_type_not_found
 
struct  no_active_project
 
struct  project_not_found
 

Public Types

using project_list = neolib::i_vector< ng::i_ref_ptr< i_project > >
 

Public Member Functions

 declare_event (project_added, i_project &) declare_event(project_removed
 
i_projectdeclare_event (project_activated, i_project &) declare_event(project_deactivated
 
virtual ~i_project_manager ()=default
 
virtual const project_listprojects () const =0
 
virtual bool project_active () const =0
 
virtual i_projectactive_project () const =0
 
virtual void activate_project (const i_project &aProject)=0
 
virtual void deactivate_project ()=0
 
virtual i_projectopen_project (const ng::i_string &aProjectFile)=0
 
virtual i_projectcreate_project (const ng::i_string &aProjectName, const ng::i_string &aProjectNamespace)=0
 
virtual void close_project (const i_project &aProject)=0
 
virtual i_element_librarylibrary (const ng::i_string &aElementType) const =0
 
i_projectopen_project (std::string const &aProjectFile)
 
i_projectcreate_project (std::string const &aProjectName, std::string const &aProjectNamespace)
 

Detailed Description

Definition at line 29 of file i_project_manager.hpp.

Member Typedef Documentation

◆ project_list

Constructor & Destructor Documentation

◆ ~i_project_manager()

virtual neogfx::DesignStudio::i_project_manager::~i_project_manager ( )
virtualdefault

Member Function Documentation

◆ activate_project()

virtual void neogfx::DesignStudio::i_project_manager::activate_project ( const i_project aProject)
pure virtual

◆ active_project()

virtual i_project & neogfx::DesignStudio::i_project_manager::active_project ( ) const
pure virtual

◆ close_project()

virtual void neogfx::DesignStudio::i_project_manager::close_project ( const i_project aProject)
pure virtual

◆ create_project() [1/2]

virtual i_project & neogfx::DesignStudio::i_project_manager::create_project ( const ng::i_string aProjectName,
const ng::i_string aProjectNamespace 
)
pure virtual

◆ create_project() [2/2]

i_project & neogfx::DesignStudio::i_project_manager::create_project ( std::string const &  aProjectName,
std::string const &  aProjectNamespace 
)
inline

Definition at line 62 of file i_project_manager.hpp.

◆ deactivate_project()

virtual void neogfx::DesignStudio::i_project_manager::deactivate_project ( )
pure virtual

◆ declare_event() [1/2]

i_project & neogfx::DesignStudio::i_project_manager::declare_event ( project_activated  ,
i_project  
)

◆ declare_event() [2/2]

neogfx::DesignStudio::i_project_manager::declare_event ( project_added  ,
i_project  
)

◆ library()

virtual i_element_library & neogfx::DesignStudio::i_project_manager::library ( const ng::i_string aElementType) const
pure virtual

◆ open_project() [1/2]

virtual i_project & neogfx::DesignStudio::i_project_manager::open_project ( const ng::i_string aProjectFile)
pure virtual

◆ open_project() [2/2]

i_project & neogfx::DesignStudio::i_project_manager::open_project ( std::string const &  aProjectFile)
inline

Definition at line 58 of file i_project_manager.hpp.

◆ project_active()

virtual bool neogfx::DesignStudio::i_project_manager::project_active ( ) const
pure virtual

◆ projects()

virtual const project_list & neogfx::DesignStudio::i_project_manager::projects ( ) const
pure virtual

The documentation for this class was generated from the following file: