]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/stdpaths.h
Compilation fix for GTK1.
[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:
2b147f2e
VZ
22 wxStandardPaths()
23 {
24 UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
25 }
26
27 ~wxStandardPaths() { }
28
40e8ee37 29 // implement base class pure virtuals
ac7ad70d 30 virtual wxString GetExecutablePath() const;
40e8ee37
VZ
31 virtual wxString GetConfigDir() const;
32 virtual wxString GetUserConfigDir() const;
33 virtual wxString GetDataDir() const;
34 virtual wxString GetUserDataDir() const;
35 virtual wxString GetUserLocalDataDir() const;
36 virtual wxString GetPluginsDir() const;
17af82fb 37 virtual wxString GetDocumentsDir() const;
40e8ee37
VZ
38
39protected:
40e8ee37
VZ
40 // get the path corresponding to the given standard CSIDL_XXX constant
41 static wxString DoGetDirectory(int csidl);
adaa49a8
VZ
42
43 // return the directory of the application itself
44 static wxString GetAppDir();
40e8ee37
VZ
45};
46
47// ----------------------------------------------------------------------------
48// wxStandardPathsWin16: this class is for internal use only
49// ----------------------------------------------------------------------------
50
51// override config file locations to be compatible with the values used by
52// wxFileConfig (dating from Win16 days which explains the class name)
53class WXDLLIMPEXP_BASE wxStandardPathsWin16 : public wxStandardPaths
54{
55public:
56 virtual wxString GetConfigDir() const;
57 virtual wxString GetUserConfigDir() const;
58};
59
60#endif // _WX_MSW_STDPATHS_H_