]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/stdpaths.h
fix compilation of TestRegConfRead()
[wxWidgets.git] / include / wx / os2 / stdpaths.h
CommitLineData
175bb578
SN
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
19class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20{
21public:
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
3103e8a9 27 // explicitly yourself.
175bb578
SN
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
43private:
44 static wxString m_prefix;
45};
46
47#endif // _WX_OS2_STDPATHS_H_