]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/stdpaths.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / include / wx / msw / stdpaths.h
CommitLineData
40e8ee37
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/stdpaths.h
3// Purpose: wxStandardPaths for Win32
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 2004-10-19
7// RCS-ID: $Id$
8// Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSW_STDPATHS_H_
13#define _WX_MSW_STDPATHS_H_
14
15// ----------------------------------------------------------------------------
16// wxStandardPaths
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20{
21public:
22 // implement base class pure virtuals
ac7ad70d 23 virtual wxString GetExecutablePath() const;
40e8ee37
VZ
24 virtual wxString GetConfigDir() const;
25 virtual wxString GetUserConfigDir() const;
26 virtual wxString GetDataDir() const;
27 virtual wxString GetUserDataDir() const;
28 virtual wxString GetUserLocalDataDir() const;
29 virtual wxString GetPluginsDir() const;
17af82fb 30 virtual wxString GetDocumentsDir() const;
40e8ee37
VZ
31
32protected:
40e8ee37
VZ
33 // get the path corresponding to the given standard CSIDL_XXX constant
34 static wxString DoGetDirectory(int csidl);
adaa49a8
VZ
35
36 // return the directory of the application itself
37 static wxString GetAppDir();
40e8ee37
VZ
38};
39
40// ----------------------------------------------------------------------------
41// wxStandardPathsWin16: this class is for internal use only
42// ----------------------------------------------------------------------------
43
44// override config file locations to be compatible with the values used by
45// wxFileConfig (dating from Win16 days which explains the class name)
46class WXDLLIMPEXP_BASE wxStandardPathsWin16 : public wxStandardPaths
47{
48public:
49 virtual wxString GetConfigDir() const;
50 virtual wxString GetUserConfigDir() const;
51};
52
53#endif // _WX_MSW_STDPATHS_H_