]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/stdpaths.h
1. added abstract interface to wxHtmlWindow for use by wxHtmlWinParser and implemente...
[wxWidgets.git] / include / wx / os2 / stdpaths.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/stdpaths.h
3 // Purpose: wxStandardPaths for OS/2
4 // Author: Stefan Neis
5 // Modified by:
6 // Created: 2004-11-06
7 // RCS-ID: $Id$
8 // Copyright: (c) 2004 Stefan Neis <Stefan.Neis@t-online.de>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_OS2_STDPATHS_H_
13 #define _WX_OS2_STDPATHS_H_
14
15 // ----------------------------------------------------------------------------
16 // wxStandardPaths
17 // ----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20 {
21 public:
22 // set the program installation directory which is /usr/local by default
23 //
24 // The program directory can be determined automatically from argv[0],
25 // this function is automatically called from application initialisation.
26 // If you override the initialisation routine, you should call it
27 // explicitly yourself.
28 static void SetInstallPrefix(const wxString& prefix);
29
30 // get the program installation prefix
31 //
32 // if the prefix had been previously by SetInstallPrefix, returns that
33 // value, otherwise returns /usr/local if it failed
34 wxString GetInstallPrefix() const;
35
36 // implement base class pure virtuals
37 virtual wxString GetConfigDir() const;
38 virtual wxString GetUserConfigDir() const;
39 virtual wxString GetDataDir() const;
40 virtual wxString GetUserDataDir() const;
41 virtual wxString GetPluginsDir() const;
42
43 private:
44 static wxString m_prefix;
45 };
46
47 #endif // _WX_OS2_STDPATHS_H_