]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/stdpaths.h
Rename wxGetFileType to wxGetFileKind
[wxWidgets.git] / include / wx / unix / stdpaths.h
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
19 class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
20 {
21 public:
22 // set the program installation directory which is /usr/local by default
23 //
24 // under some systems (currently only Linux) the program directory can be
25 // determined automatically but for portable programs you should always set
26 // it explicitely
27 void SetInstallPrefix(const wxString& prefix);
28
29 // get the program installation prefix
30 //
31 // if the prefix had been previously by SetInstallPrefix, returns that
32 // value, otherwise tries to determine it automatically (Linux only right
33 // now) and returns /usr/local if it failed
34 wxString GetInstallPrefix() const;
35
36
37 // implement base class pure virtuals
38 virtual wxString GetConfigDir() const;
39 virtual wxString GetUserConfigDir() const;
40 virtual wxString GetDataDir() const;
41 virtual wxString GetLocalDataDir() const;
42 virtual wxString GetUserDataDir() const;
43 virtual wxString GetPluginsDir() const;
44
45 private:
46 wxString m_prefix;
47 };
48
49 #endif // _WX_UNIX_STDPATHS_H_
50