13
#include <wx/filename.h>
14
#include <wx/txtstrm.h>
16
#include <editorbase.h>
17
#include <editormanager.h>
18
#include <logmanager.h>
22
wxString GetParentDir(const wxString &path);
24
bool DirIsChildOf(const wxString &path, const wxString &child);
26
bool WildCardListMatch(wxString list, wxString name, bool strip=false);
28
bool PromptSaveOpenFile(wxString message, wxFileName path);
30
inline void LogMessage(const wxString &msg)
31
{ Manager::Get()->GetLogManager()->Log(msg); }
33
inline void LogErrorMessage(const wxString &msg)
34
{ Manager::Get()->GetLogManager()->LogError(msg); }
37
inline int MessageBox(wxWindow *parent, const wxString& message, const wxString& caption = wxEmptyString, int style = wxOK, int x = -1, int y = -1) { return cbMessageBox(message, caption, style, parent, x, y);}