mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
.developing umk
git-svn-id: svn://ultimatepp.org/upp/trunk@3756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8a67522b62
commit
d636c98ffc
4 changed files with 29 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue