|
1 /* |
|
2 * LDForge: LDraw parts authoring CAD |
|
3 * Copyright (C) 2013, 2014 Santeri Piippo |
|
4 * |
|
5 * This program is free software: you can redistribute it and/or modify |
|
6 * it under the terms of the GNU General Public License as published by |
|
7 * the Free Software Foundation, either version 3 of the License, or |
|
8 * (at your option) any later version. |
|
9 * |
|
10 * This program is distributed in the hope that it will be useful, |
|
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 * GNU General Public License for more details. |
|
14 * |
|
15 * You should have received a copy of the GNU General Public License |
|
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
17 */ |
|
18 |
|
19 // ============================================================================= |
|
20 // This file is included one way or another in every source file of LDForge. |
|
21 // Stuff defined and included here is universally included. |
|
22 |
|
23 #pragma once |
|
24 #include <stdio.h> |
|
25 #include <stdlib.h> |
|
26 #include <stdint.h> |
|
27 #include <stdarg.h> |
|
28 #include <QString> |
|
29 #include <QTextFormat> |
|
30 #include "macros.h" |
|
31 #include "version.h" |
|
32 #include "configuration.h" |
|
33 #include "format.h" |
|
34 |
|
35 // Null pointer |
|
36 static const std::nullptr_t null = nullptr; |
|
37 |
|
38 void assertionFailure (const char* file, int line, const char* funcname, const char* expr); |
|
39 |
|
40 // Version string identifier. These are defined in Version.cc. |
|
41 const char* versionString(); |
|
42 const char* fullVersionString(); |