27 Q_ASSERT_X(
m_parsed, Q_FUNC_INFO,
"Not yet parsed cmd line arguments");
36 CCoreFacadeConfig runtimeConfig = coreModeToCoreFacadeConfig(coreMode, dBusAddress);
57 Q_ASSERT_X(
false, Q_FUNC_INFO,
"Not handled core mode");
CSwiftDataApplication * instance()
Single instance.
virtual bool parsingHookIn()
Parsing of special CMD args.
virtual swift::misc::CStatusMessageList startHookIn()
Start facade by cmd arguments.
CSwiftDataApplication()
Constructor.
QString getParserValue(const QString &option) const
Delegates to QCommandLineParser::value.
bool m_parsed
Parsing accomplished?
bool isParserOptionSet(const QString &option) const
Delegates to QCommandLineParser::isSet.
QString getCmdDBusAddressValue() const
DBus address from CMD line, otherwise "".
swift::misc::CStatusMessageList initContextsAndStartCoreFacade(const CCoreFacadeConfig &coreConfig)
Init the contexts part and start core facade.
static CApplication * instance()
Similar to.
Configuration object for the contexts.
@ NotUsed
during shutdown or not used at all
@ Local
context runs in same process
@ Remote
context runs in a different process.
CGuiApplication(const QString &applicationName=executable(), swift::misc::CApplicationInfo::Application application=swift::misc::CApplicationInfo::Unknown, const QPixmap &icon=swift::misc::CIcons::swift64())
Constructor.
Description of a swift application.
void push_back(const T &value)
Appends an element at the end of the sequence.
Status messages, e.g. from Core -> GUI.
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
T qobject_cast(QObject *object)
static CoreMode stringToCoreMode(const QString &m)
String to core mode.
CoreMode
Core runs how and where?