]>
Commit | Line | Data |
---|---|---|
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 | // implement base class pure virtuals | |
23 | virtual wxString GetConfigDir() const; | |
24 | virtual wxString GetUserConfigDir() const; | |
25 | virtual wxString GetDataDir() const; | |
26 | virtual wxString GetUserDataDir() const; | |
27 | virtual wxString GetUserLocalDataDir() const; | |
28 | virtual wxString GetPluginsDir() const; | |
29 | ||
30 | protected: | |
31 | // get the path corresponding to the given standard CSIDL_XXX constant | |
32 | static wxString DoGetDirectory(int csidl); | |
33 | ||
34 | // return the directory of the application itself | |
35 | static wxString GetAppDir(); | |
36 | }; | |
37 | ||
38 | // ---------------------------------------------------------------------------- | |
39 | // wxStandardPathsWin16: this class is for internal use only | |
40 | // ---------------------------------------------------------------------------- | |
41 | ||
42 | // override config file locations to be compatible with the values used by | |
43 | // wxFileConfig (dating from Win16 days which explains the class name) | |
44 | class WXDLLIMPEXP_BASE wxStandardPathsWin16 : public wxStandardPaths | |
45 | { | |
46 | public: | |
47 | virtual wxString GetConfigDir() const; | |
48 | virtual wxString GetUserConfigDir() const; | |
49 | }; | |
50 | ||
51 | #endif // _WX_MSW_STDPATHS_H_ |