.developing umk

git-svn-id: svn://ultimatepp.org/upp/trunk@3756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-08-08 11:38:39 +00:00
commit d636c98ffc
4 changed files with 29 additions and 14 deletions

View file

@ -97,6 +97,29 @@ const Workspace& GetIdeWorkspace()
return x;
}
String IdeContext::GetDefaultMethod()
{
return LoadFile(ConfigFile("default_method"));
}
VectorMap<String, String> IdeContext::GetMethodVars(const String& method)
{
VectorMap<String, String> map;
LoadVarFile(ConfigFile((String)~method + ".bm"), map);
return map;
}
String GetDefaultMethod()
{
return the_ide ? the_ide->GetDefaultMethod() : String();
}
VectorMap<String, String> GetMethodVars(const String& method)
{
return the_ide ? the_ide->GetMethodVars(method) : VectorMap<String, String>();
}
bool IdeIsBuilding()
{
return the_ide && the_ide->IdeIsBuilding();