Debian Codegraph @

HercStudio/Environment.cpp

raw symbols SCIP
1 /*
2 * File: Environment.cpp
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 8, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 *
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 *
24 */
25
26 #include "Environment.h"cxx . . $ `<file>/HercStudio/Environment.h`/
27
28 #include "cstdlib"
29
30 #define ENV_ICONScxx . . $ `HercStudio/Environment.cpp:30:9`! "HERCULES_ICONS"
31
32 stdcxx . . $ std/::stringcxx . . $ std/string# Environmentcxx . . $ Environment#::mEmptyStringcxx . . $ Environment#mEmptyString.;
33 stdcxx . . $ std/::stringcxx . . $ std/string# Environmentcxx . . $ Environment#::mDefaultIconPathcxx . . $ Environment#mDefaultIconPath. = ":/icons"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).;//"/usr/share/herculesstudio/icons";
34 stdcxx . . $ std/::stringcxx . . $ std/string# *Environmentcxx . . $ Environment#::mIconsPathcxx . . $ Environment#mIconsPath. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!;
35
36 Environmentcxx . . $ Environment#::Environmentcxx . . $ Environment#Environment(49f6e7a06ebc5aa8).()
37 {
38
39
40 }
41
42 Environmentcxx . . $ Environment#::~cxx . . $ Environment#`~Environment`(49f6e7a06ebc5aa8).Environmentcxx . . $ Environment#()
43 {
44 delete mIconsPathcxx . . $ Environment#mIconsPath.;
45 }
46
47 stdcxx . . $ std/::stringcxx . . $ std/string#& Environmentcxx . . $ Environment#::getIconsPathcxx . . $ Environment#getIconsPath(75da78375bc7a3dd).()
48 {
49 if (mIconsPathcxx . . $ Environment#mIconsPath. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) return *mIconsPathcxx . . $ Environment#mIconsPath.;
50 char * path = getenv("HERCULES_ICONS");
51 if (path == NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!) mIconsPathcxx . . $ Environment#mIconsPath. = &mDefaultIconPathcxx . . $ Environment#mDefaultIconPath.;
52 else mIconsPathcxx . . $ Environment#mIconsPath. = new stdcxx . . $ std/::stringcxx . . $ std/string#(path);
53 return *mIconsPathcxx . . $ Environment#mIconsPath.;
54 }