1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/stdpaths.h
3 // Purpose: wxStandardPaths for OS/2
8 // Copyright: (c) 2004 Stefan Neis <Stefan.Neis@t-online.de>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_OS2_STDPATHS_H_
13 #define _WX_OS2_STDPATHS_H_
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 class WXDLLIMPEXP_BASE wxStandardPaths
: public wxStandardPathsBase
22 // set the program installation directory which is /usr/local by default
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
);
30 // get the program installation prefix
32 // if the prefix had been previously by SetInstallPrefix, returns that
33 // value, otherwise returns /usr/local if it failed
34 wxString
GetInstallPrefix() const;
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;
44 static wxString m_prefix
;
47 #endif // _WX_OS2_STDPATHS_H_