6 #ifndef COMPILERFACTORY_H 7 #define COMPILERFACTORY_H 26 static size_t GetCompilersCount();
28 static Compiler* GetCompiler(
size_t index);
35 static int GetCompilerIndex(
const wxString&
id);
37 static int GetCompilerIndex(
Compiler* compiler);
43 static bool CompilerInheritsFrom(
const wxString&
id,
const wxString& from_id);
45 static bool CompilerInheritsFrom(
Compiler* compiler,
const wxString& from_id);
48 static void RegisterCompiler(
Compiler* compiler);
50 static void RegisterUserCompilers();
54 static void RemoveCompiler(
Compiler* compiler);
56 static void UnregisterCompilers();
60 static void SaveSettings();
61 static void LoadSettings();
63 static const wxString& GetDefaultCompilerID();
64 static Compiler* GetDefaultCompiler();
65 static void SetDefaultCompiler(
size_t index);
66 static void SetDefaultCompiler(
const wxString&
id);
67 static void SetDefaultCompiler(
Compiler* compiler);
75 #endif // COMPILERFACTORY_H static bool IsValidCompilerID(const wxString &id)
const wxString & _(const wxString &string)
WX_DEFINE_ARRAY(Compiler *, CompilersArray)
Abstract base class for compilers.
static Compiler * s_DefaultCompiler
static CompilersArray Compilers