]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/stdpaths.h
insert missing iclude file
[wxWidgets.git] / include / wx / msw / stdpaths.h
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
19 class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20 {
21 public:
22 wxStandardPaths()
23 {
24 UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
25 }
26
27 ~wxStandardPaths() { }
28
29 // implement base class pure virtuals
30 virtual wxString GetExecutablePath() const;
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;
37 virtual wxString GetDocumentsDir() const;
38
39 protected:
40 // get the path corresponding to the given standard CSIDL_XXX constant
41 static wxString DoGetDirectory(int csidl);
42
43 // return the directory of the application itself
44 static wxString GetAppDir();
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)
53 class WXDLLIMPEXP_BASE wxStandardPathsWin16 : public wxStandardPaths
54 {
55 public:
56 virtual wxString GetConfigDir() const;
57 virtual wxString GetUserConfigDir() const;
58 };
59
60 #endif // _WX_MSW_STDPATHS_H_