[go: up one dir, main page]

Menu

[96b3e1]: / path.h  Maximize  Restore  History

Download this file

30 lines (22 with data), 815 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/////////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: Copyright (C) 2010 Steven Lamerton
// License: GNU GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
/////////////////////////////////////////////////////////////////////////////////
#ifndef PATH_H
#define PATH_H
#include <wx/string.h>
#include <wx/filename.h>
#include <map>
namespace Path{
wxFileName Normalise(const wxFileName &filename);
wxString Normalise(const wxString &path);
void CreateDirectoryPath(const wxFileName &path);
//<drive label, drive letter> Used by variables to resolve drive labels
static std::map<wxString, wxString> DriveLabels;
}
namespace Locations{
wxString GetSettingsPath();
void SetSettingsPath(wxString path);
}
#endif