6 #ifndef SWIFT_GUI_GUIMODEENUMS_H
7 #define SWIFT_GUI_GUIMODEENUMS_H
26 QString cm(m.toLower().trimmed());
27 if (cm.isEmpty()) {
return Standalone; }
32 if (cm.contains(
"distribute")) {
return Distributed; }
33 if (cm.contains(
"standalone")) {
return Standalone; }
34 if (cm.contains(
"external")) {
return Distributed; }
35 if (cm.contains(
"gui")) {
return Standalone; }
44 case Standalone:
return QStringLiteral(
"standalone");
45 case Distributed:
return QStringLiteral(
"distributed");
Backend services of the swift project, like dealing with the network or the simulators.
Modes, how GUI can be started (core/GUI)
static CoreMode stringToCoreMode(const QString &m)
String to core mode.
static QString coreModeToString(CoreMode mode)
Core mode as string.
CoreMode
Core runs how and where?