47 if (platform::windows)
59 #ifdef __WXMSW__ // for wxRegKey 63 key.
SetName(
_T(
"HKEY_LOCAL_MACHINE\\Software\\Dev-C++"));
73 key.
SetName(
_T(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"));
76 while (ok && !name.
StartsWith(
_T(
"Minimalist GNU for Windows"))) {
wxString F(const wxChar *msg,...)
sprintf-like function
wxString GetName(bool bShortPrefix=true) const
virtual Compiler * CreateCopy()
Implement this in new compilers, to return a new copy.
bool Read(const wxString &key, wxString *str) const
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
bool wxFileExists(const wxString &filename)
bool GetFirstKey(wxString &strKeyName, long &lIndex)
virtual void Reset()
Reset settings to defaults.
virtual void AddIncludeDir(const wxString &option)
bool QueryValue(const wxString &szValue, wxString &strValue, bool raw) const
CompilerPrograms m_Programs
virtual void AddLibDir(const wxString &option)
LogManager * GetLogManager() const
static wxUniChar GetPathSeparator(wxPathFormat format=wxPATH_NATIVE)
const wxStringCharType * wx_str() const
wxString wxGetOSDirectory()
const wxString & _(const wxString &string)
Abstract base class for compilers.
virtual AutoDetectResult AutoDetectInstallationDir()
Try to auto-detect the compiler's installation directory.
static wxString GetExecutableFolder()
void DebugLog(const wxString &msg, Logger::level lv=Logger::info)
bool GetNextKey(wxString &strKeyName, long &lIndex) const
bool StartsWith(const wxString &prefix, wxString *rest=NULL) const
bool Open(AccessMode mode=Write)
void SetName(const wxString &strKey)