forked from PortableApps/Toucan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
path.h
29 lines (22 loc) · 815 Bytes
/
path.h
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