]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/stdpaths.h
support retina display
[wxWidgets.git] / include / wx / unix / stdpaths.h
CommitLineData
8a613d31
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/unix/stdpaths.h
3// Purpose: wxStandardPaths for Unix systems
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_UNIX_STDPATHS_H_
13#define _WX_UNIX_STDPATHS_H_
14
15// ----------------------------------------------------------------------------
16// wxStandardPaths
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20{
21public:
3abcfa9b
VZ
22 // tries to determine the installation prefix automatically (Linux only right
23 // now) and returns /usr/local if it failed
24 void DetectPrefix();
25
8a613d31
VZ
26 // set the program installation directory which is /usr/local by default
27 //
28 // under some systems (currently only Linux) the program directory can be
29 // determined automatically but for portable programs you should always set
3103e8a9 30 // it explicitly
8a613d31
VZ
31 void SetInstallPrefix(const wxString& prefix);
32
33 // get the program installation prefix
34 //
35 // if the prefix had been previously by SetInstallPrefix, returns that
3abcfa9b 36 // value, otherwise calls DetectPrefix()
8a613d31
VZ
37 wxString GetInstallPrefix() const;
38
39
40 // implement base class pure virtuals
ac7ad70d 41 virtual wxString GetExecutablePath() const;
8a613d31
VZ
42 virtual wxString GetConfigDir() const;
43 virtual wxString GetUserConfigDir() const;
44 virtual wxString GetDataDir() const;
45 virtual wxString GetLocalDataDir() const;
46 virtual wxString GetUserDataDir() const;
47 virtual wxString GetPluginsDir() const;
e0b3b9d0 48 virtual wxString GetLocalizedResourcesDir(const wxString& lang,
3af9f2de 49 ResourceCat category) const;
0ce52f3d
JS
50#ifndef __VMS
51 virtual wxString GetDocumentsDir() const;
52#endif
c320b3e3
VZ
53
54private:
55 wxString m_prefix;
8a613d31
VZ
56};
57
58#endif // _WX_UNIX_STDPATHS_H_
59