1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/stdpaths.h
3 // Purpose: wxStandardPaths for OS/2
7 // Copyright: (c) 2004 Stefan Neis <Stefan.Neis@t-online.de>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_OS2_STDPATHS_H_
12 #define _WX_OS2_STDPATHS_H_
14 // ----------------------------------------------------------------------------
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_BASE wxStandardPaths
: public wxStandardPathsBase
21 // set the program installation directory which is /usr/local by default
23 // The program directory can be determined automatically from argv[0],
24 // this function is automatically called from application initialisation.
25 // If you override the initialisation routine, you should call it
26 // explicitly yourself.
27 static void SetInstallPrefix(const wxString
& prefix
);
29 // get the program installation prefix
31 // if the prefix had been previously by SetInstallPrefix, returns that
32 // value, otherwise returns /usr/local if it failed
33 wxString
GetInstallPrefix() const;
35 // implement base class pure virtuals
36 virtual wxString
GetConfigDir() const;
37 virtual wxString
GetUserConfigDir() const;
38 virtual wxString
GetDataDir() const;
39 virtual wxString
GetUserDataDir() const;
40 virtual wxString
GetPluginsDir() const;
43 // Ctor is protected, use wxStandardPaths::Get() instead of instantiating
44 // objects of this class directly.
48 static wxString m_prefix
;
51 #endif // _WX_OS2_STDPATHS_H_