]> git.saurik.com Git - wxWidgets.git/blob - src/common/stdpbase.cpp
4d477a297490703f8b2b199ffd7dc20d24f5d540
[wxWidgets.git] / src / common / stdpbase.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: common/stdpbase.cpp
3 // Purpose: wxStandardPathsBase methods common to all ports
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 // License: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // for compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #include "wx/stdpaths.h"
28
29 // ----------------------------------------------------------------------------
30 // module globals
31 // ----------------------------------------------------------------------------
32
33 static wxStandardPaths gs_stdPaths;
34
35 // ============================================================================
36 // implementation
37 // ============================================================================
38
39 /* static */
40 wxStandardPaths& wxStandardPathsBase::Get()
41 {
42 return gs_stdPaths;
43 }
44
45 wxStandardPathsBase::~wxStandardPathsBase()
46 {
47 // nothing to do here
48 }
49
50 wxString wxStandardPathsBase::GetLocalDataDir() const
51 {
52 return GetDataDir();
53 }
54
55 wxString wxStandardPathsBase::GetUserLocalDataDir() const
56 {
57 return GetUserDataDir();
58 }
59