2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Add handy TagFromPath shortcut method in ProjectManager

This commit is contained in:
Jack Andersen
2016-08-16 19:09:34 -10:00
parent 13cb48e3f9
commit e9a5e4b7f6
2 changed files with 6 additions and 7 deletions

View File

@@ -43,6 +43,8 @@ public:
hecl::Database::Project* project() {return m_proj.get();}
ProjectResourcePool& objectStore() {return m_objStore;}
ProjectResourceFactoryMP1& resourceFactoryMP1() {return m_factoryMP1;}
SObjectTag TagFromPath(const hecl::SystemChar* path) const
{ return m_factoryMP1.ProjectResourceFactoryBase::TagFromPath(path); }
bool newProject(const hecl::SystemString& path);
bool openProject(const hecl::SystemString& path);