source: eviacam/trunk/fuentes/src/paths.cpp @ 567

Last change on this file since 567 was 567, checked in by mabarracus, 4 years ago

updated sources to version 2.0.3

File size: 1.3 KB
Line 
1/////////////////////////////////////////////////////////////////////////////
2// Name:        paths.cpp
3// Purpose:     
4// Author:      Cesar Mauri Loba (cesar at crea-si dot com)
5// Copyright:   (C) 2012 Cesar Mauri Loba - CREA Software Systems
6//
7//  This program is free software: you can redistribute it and/or modify
8//  it under the terms of the GNU General Public License as published by
9//  the Free Software Foundation, either version 3 of the License, or
10//  (at your option) any later version.
11//
12//  This program is distributed in the hope that it will be useful,
13//  but WITHOUT ANY WARRANTY; without even the implied warranty of
14//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15//  GNU General Public License for more details.
16//
17//  You should have received a copy of the GNU General Public License
18//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
19/////////////////////////////////////////////////////////////////////////////
20
21#include "paths.h"
22
23namespace eviacam {
24
25static wxString g_dataDir;
26static wxString g_docDir;
27
28wxString const & GetDataDir() {
29        return g_dataDir;
30}
31
32void SetDataDir(wxString const & s) {
33        g_dataDir= s;
34}
35
36wxString const & GetDocDir() {
37        return g_docDir;
38}
39
40void SetDocDir(wxString const & s) {
41        g_docDir= s;
42}
43
44};
Note: See TracBrowser for help on using the repository browser.