forked from thunder-engine/thunder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
48 lines (39 loc) · 1.19 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef COMMON_H
#define COMMON_H
#include <QDir>
#include <QFontMetrics>
const QString gContent("content");
const QString gCache("cache");
const QString gImport("assets");
const QString gThumbnails("thumbnails");
const QString gGenerated("generated");
const QString gPlugins("plugins");
const QString gType("type");
const QString gIcon("icon");
const QString gSubItems("subitems");
const QString gSettings("settings");
const QString gPlatforms("platforms");
const QString gProjectExt(".forge");
const QString gMetaExt(".set");
const QString gIndex("index");
#if defined(Q_OS_WIN)
const QString gShared(".dll");
const QString gStatic(".lib");
const QString gApplication(".exe");
#elif defined(Q_OS_MAC)
const QString gShared(".dylib");
const QString gStatic(".a");
const QString gApplication(".app");
#elif defined(Q_OS_UNIX)
const QString gShared(".so");
const QString gStatic(".a");
const QString gApplication("");
#endif
const QString gMimeContent("text/content");
const QString gMimeObject("text/object");
const QString gDefaultFont("Helvetica Neue");
const int gFontSize = 12;
const int gRoundness = 8;
const QFont gFont(gDefaultFont, gFontSize);
const QFontMetrics gMetrics(gFont);
#endif // COMMON_H