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

#include <project_manager.hpp>

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

Public Types

using project_list = neolib::vector< ng::ref_ptr< project > >
 
- Public Types inherited from neogfx::DesignStudio::i_project_manager
using project_list = neolib::i_vector< ng::i_ref_ptr< i_project > >
 

Public Member Functions

 define_declared_event (ProjectAdded, project_added, i_project &) define_declared_event(ProjectRemoved
 
i_projectdefine_declared_event (ProjectActivated, project_activated, i_project &) define_declared_event(ProjectDeactivated
 
 project_manager ()
 
 ~project_manager ()
 
const project_listprojects () const override
 
bool project_active () const override
 
i_projectactive_project () const override
 
void activate_project (const i_project &aProject) override
 
void deactivate_project () override
 
i_projectopen_project (const ng::i_string &aProjectFile) override
 
i_projectcreate_project (const ng::i_string &aProjectName, const ng::i_string &aProjectNamespace) override
 
void close_project (const i_project &aProject) override
 
i_element_librarylibrary (const ng::i_string &aElementType) const override
 
virtual i_projectopen_project (const ng::i_string &aProjectFile)=0
 
i_projectopen_project (std::string const &aProjectFile)
 
virtual i_projectcreate_project (const ng::i_string &aProjectName, const ng::i_string &aProjectNamespace)=0
 
i_projectcreate_project (std::string const &aProjectName, std::string const &aProjectNamespace)
 
- Public Member Functions inherited from neogfx::DesignStudio::i_project_manager
 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
 
i_projectopen_project (std::string const &aProjectFile)
 
i_projectcreate_project (std::string const &aProjectName, std::string const &aProjectNamespace)
 

Public Attributes

 project_removed
 
i_project project_deactivated
 

Detailed Description

Definition at line 29 of file project_manager.hpp.

Member Typedef Documentation

◆ project_list

Constructor & Destructor Documentation

◆ project_manager()

neogfx::DesignStudio::project_manager::project_manager ( )

◆ ~project_manager()

neogfx::DesignStudio::project_manager::~project_manager ( )

Member Function Documentation

◆ activate_project()

void neogfx::DesignStudio::project_manager::activate_project ( const i_project aProject)
overridevirtual

◆ active_project()

i_project & neogfx::DesignStudio::project_manager::active_project ( ) const
overridevirtual

◆ close_project()

void neogfx::DesignStudio::project_manager::close_project ( const i_project aProject)
overridevirtual

◆ create_project() [1/3]

i_project & neogfx::DesignStudio::project_manager::create_project ( const ng::i_string aProjectName,
const ng::i_string aProjectNamespace 
)
overridevirtual

◆ create_project() [2/3]

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

◆ create_project() [3/3]

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()

void neogfx::DesignStudio::project_manager::deactivate_project ( )
overridevirtual

◆ define_declared_event() [1/2]

i_project & neogfx::DesignStudio::project_manager::define_declared_event ( ProjectActivated  ,
project_activated  ,
i_project  
)

◆ define_declared_event() [2/2]

neogfx::DesignStudio::project_manager::define_declared_event ( ProjectAdded  ,
project_added  ,
i_project  
)

◆ library()

i_element_library & neogfx::DesignStudio::project_manager::library ( const ng::i_string aElementType) const
overridevirtual

◆ open_project() [1/3]

i_project & neogfx::DesignStudio::project_manager::open_project ( const ng::i_string aProjectFile)
overridevirtual

◆ open_project() [2/3]

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

◆ open_project() [3/3]

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()

bool neogfx::DesignStudio::project_manager::project_active ( ) const
overridevirtual

◆ projects()

const project_list & neogfx::DesignStudio::project_manager::projects ( ) const
overridevirtual

Member Data Documentation

◆ project_deactivated

i_project neogfx::DesignStudio::project_manager::project_deactivated

Definition at line 35 of file project_manager.hpp.

◆ project_removed

neogfx::DesignStudio::project_manager::project_removed

Definition at line 33 of file project_manager.hpp.


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