mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.developing umk
git-svn-id: svn://ultimatepp.org/upp/trunk@3756 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4e71ffdc56
commit
3ba846a2a2
4 changed files with 29 additions and 14 deletions
|
|
@ -4,18 +4,6 @@
|
|||
|
||||
#define LDUMP(x) // DUMP(x)
|
||||
|
||||
String MakeBuild::GetDefaultMethod()
|
||||
{
|
||||
return LoadFile(ConfigFile("default_method"));
|
||||
}
|
||||
|
||||
VectorMap<String, String> MakeBuild::GetMethodVars(const String& method)
|
||||
{
|
||||
VectorMap<String, String> map;
|
||||
LoadVarFile(ConfigFile((String)~method + ".bm"), map);
|
||||
return map;
|
||||
}
|
||||
|
||||
MakeBuild::MakeBuild()
|
||||
{
|
||||
targetmode = 0;
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@ struct MakeBuild {
|
|||
virtual void ReQualifyCodeBase() = 0;
|
||||
virtual void SetErrorEditor() = 0;
|
||||
virtual String GetMain() = 0;
|
||||
virtual String GetDefaultMethod();
|
||||
virtual VectorMap<String, String> GetMethodVars(const String& method);
|
||||
|
||||
struct TransferFileInfo
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -74,6 +74,9 @@ public:
|
|||
virtual String IdeGetFileName() = 0;
|
||||
virtual String IdeGetNestFolder() = 0;
|
||||
|
||||
virtual String GetDefaultMethod();
|
||||
virtual VectorMap<String, String> GetMethodVars(const String& method);
|
||||
|
||||
virtual ~IdeContext() {}
|
||||
};
|
||||
|
||||
|
|
@ -98,6 +101,9 @@ void IdeConsoleEndGroup();
|
|||
bool IdeConsoleWait();
|
||||
void IdeGotoCodeRef(String s);
|
||||
|
||||
String GetDefaultMethod();
|
||||
VectorMap<String, String> GetMethodVars(const String& method);
|
||||
|
||||
bool IdeIsDebug();
|
||||
void IdeEndDebug();
|
||||
void IdeSetBottom(Ctrl& ctrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue