-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h.cmake
65 lines (60 loc) · 1.53 KB
/
config.h.cmake
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef CONFIG_H
#define CONFIG_H
#define KCM_GRUB_VERSION "@KCM_GRUB_VERSION@"
#define HAVE_IMAGEMAGICK @HAVE_IMAGEMAGICK@
#define HAVE_HD @HAVE_HD@
#define HAVE_QAPT @HAVE_QAPT@
#define HAVE_QPACKAGEKIT @HAVE_QPACKAGEKIT@
//Qt
#include <QFile>
inline const QString & grubInstallExePath()
{
static const QString str = QFile::decodeName("@GRUB_INSTALL_EXE@");
return str;
}
inline const QString & grubMkconfigExePath()
{
static const QString str = QFile::decodeName("@GRUB_MKCONFIG_EXE@");
return str;
}
inline const QString & grubProbeExePath()
{
static const QString str = QFile::decodeName("@GRUB_PROBE_EXE@");
return str;
}
inline const QString & grubSetDefaultExePath()
{
static const QString str = QFile::decodeName("@GRUB_SET_DEFAULT_EXE@");
return str;
}
inline const QString & grubMenuPath()
{
static const QString str = QFile::decodeName("@GRUB_MENU@");
return str;
}
inline const QString & grubConfigPath()
{
static const QString str = QFile::decodeName("@GRUB_CONFIG@");
return str;
}
inline const QString & grubEnvPath()
{
static const QString str = QFile::decodeName("@GRUB_ENV@");
return str;
}
inline const QString & grubMemtestPath()
{
static const QString str = QFile::decodeName("@GRUB_MEMTEST@");
return str;
}
inline const QString & grubLocalePath()
{
static const QString str = QFile::decodeName("@GRUB_LOCALE@");
return str;
}
inline const QString & getTestFilesDir()
{
static const QString str = QFile::decodeName("@TEST_CASE_FILES@");
return str;
}
#endif