Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_WX___SYS_PATH__HPP
2 #define GUI_WIDGETS_WX___SYS_PATH__HPP
42 #include <wx/string.h>
44 class wxStandardPathsBase;
65 static void BindAlias(
const wxString& alias,
const wxString& path);
70 static wxString ResolvePath(
const wxString& path,
const wxString& rel_name);
73 static wxString ResolvePath(
const wxString& path);
81 static wxString ResolvePathExisting(
const wxString& path,
82 const wxString& delim =
wxT(
","));
91 static wxString GetHomePath(
void);
95 static wxString GetResourcePath(
void);
104 static void AddToPath(
const wxString& path, EPathMode
mode = ePath_Prepend);
106 static void SetInst(
const string& inst);
107 static string GetInst();
110 static wxStandardPathsBase& GetStandardPaths();
EPathMode
Add an element to the environment's PATH variable.
map< wxString, wxString > TAliasMap
static TAliasMap sm_AliasMap
Include a standard set of the NCBI C++ Toolkit most basic headers.
string GetStdPath(const string &path)
Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT