2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

Refactored for 'spec' tool

This commit is contained in:
Jack Andersen
2015-06-09 13:21:45 -10:00
parent 9de4d3fbe7
commit a4ab583a93
8 changed files with 45 additions and 30 deletions

View File

@@ -9,6 +9,10 @@
namespace HECLDatabase
{
/**********************************************
* Project::ConfigFile
**********************************************/
static inline bool CheckNewLineAdvance(std::string::const_iterator& it)
{
if (*it == '\n' || *it == '\0')
@@ -110,6 +114,10 @@ bool Project::ConfigFile::checkForLine(const std::string& refLine)
return false;
}
/**********************************************
* Project
**********************************************/
Project::Project(const std::string& rootPath)
: m_rootPath(rootPath)
{
@@ -153,15 +161,15 @@ bool Project::removeGroup(const HECL::ProjectPath& path)
{
}
const std::map<const std::string, const bool>& Project::listPlatforms()
const std::map<const std::string, const bool>& Project::listDataSpecs()
{
}
bool Project::enablePlatforms(const std::vector<std::string>& platforms)
bool Project::enableDataSpecs(const std::vector<std::string>& specs)
{
}
bool Project::disablePlatforms(const std::vector<std::string>& platforms)
bool Project::disableDataSpecs(const std::vector<std::string>& specs)
{
}