6#ifndef SWIFT_CORE_CONTEXT_CONTEXTAPPLICATION_IMPL_H
7#define SWIFT_CORE_CONTEXT_CONTEXTAPPLICATION_IMPL_H
39 friend class IContextApplication;
94 void cleanupRegisteredApplications();
ContextMode
How to handle a given context.
The class providing facades (the contexts) for all DBus relevant operations.
void callHotkeyActionRemotely(const QString &action, bool argument, const swift::misc::CIdentifier &origin)
Call a hotkey action on a remote process.
swift::misc::CStatusMessage loadSettings()
Load core settings from disk.
void unregisterApplication(const swift::misc::CIdentifier &application)
Unregister application.
swift::misc::CValueCachePacket getAllSettings() const
Get all settings currently in core settings cache.
swift::misc::CStatusMessage saveSettings(const QString &keyPrefix={})
Save core settings to disk.
swift::misc::CIdentifier getApplicationIdentifier() const
Identifier of application, remote side if distributed.
swift::misc::CStatusMessage saveSettingsByKey(const QStringList &keys)
Save core settings to disk.
void registerHotkeyActions(const QStringList &actions, const swift::misc::CIdentifier &origin)
Register hotkey action implemented by another process.
CContextApplication(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime)
Constructor.
void synchronizeLocalSettings()
Update local settings with settings from core.
void changeSettings(const swift::misc::CValueCachePacket &settings, const swift::misc::CIdentifier &origin)
Ratify some settings changed by another process.
QStringList getUnsavedSettingsKeys() const
Get keys of all unsaved settings currently in core settings cache.
swift::misc::CIdentifierList getRegisteredApplications() const
All registered applications.
swift::misc::CIdentifier registerApplication(const swift::misc::CIdentifier &application)
Register application, can also be used for ping.
swift::core::context::CSettingsDictionary getUnsavedSettingsKeysDescribed() const
Get keys and descriptions of all unsaved settings currently in core settings cache.
Base class with a member CIdentifier to be inherited by a class which has an identity in the environm...
Value object encapsulating information identifying a component of a modular distributed swift process...
Value object encapsulating a list of object identifiers.
Streamable status message, e.g.
Value class used for signalling changed values in the cache.
swift::misc::CDictionary< QString, QString, QMap > CSettingsDictionary
Value type for settings keys with descriptions.
#define SWIFT_CORE_CONTEXTAPPLICATION_INTERFACENAME
DBus interface for context.
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.