Computer Assited Medical Intervention Tool Kit  version 4.1
Core.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef CAMITKCORE_H
27 #define CAMITKCORE_H
28 
29 
30 
31 // -- Core stuff
32 #include "CamiTKAPI.h"
33 #include "HistoryItem.h"
34 
35 // -- Qt stuff
36 #include <QStack>
37 
38 
39 
40 namespace camitk {
54 public:
55 
58 
64  static const QStringList getComponentDirectories();
65 
72  static const QStringList getActionDirectories();
73 
86  static const QString getTestDataDir();
87 
94  static const QStringList getInstallDirectories(QString suffix);
95 
97  static const QString getConfig();
98 
100  static const QString getPaths();
101 
103  static const QString getGlobalInstallDir();
104 
106  static const QString getUserInstallDir();
107 
109  static const QString getCurrentWorkingDir();
110 
112  static const QString getBugReport();
113 
115 
120  static const bool isDebugBuild();
122 
123 
127  static const char* version;
129  static const char* shortVersion;
131  static const char* soVersion;
133  static const char* debugPostfix;
135 
136 };
137 
138 }
139 
140 #endif // CAMITKCORE_H
141 
static const char * shortVersion
short version string (all in lower case, without the patch number)
Definition: Core.h:129
static const char * debugPostfix
debug postfix used on MSVC to distinguished between release and debug version
Definition: Core.h:133
static const char * soVersion
version used for so name
Definition: Core.h:131
Definition: Action.cpp:36
static const char * version
Definition: Core.h:127
#define CAMITK_API
Definition: CamiTKAPI.h:49
Core class specifies the basic static information for the CamiTK API.
Definition: Core.h:53