refs #297 Added CSettingsCache singleton derived class of CValueCache

for core settings, with context signal and slot for relay.
This commit is contained in:
Mathew Sutcliffe
2015-06-28 17:00:04 +01:00
parent 31c081c14d
commit dace9e4da5
10 changed files with 174 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
#include "blackcore/context_application_proxy.h"
#include "blackcore/input_manager.h"
#include "blackcore/settingscache.h"
#include "blackmisc/blackmiscfreefunctions.h"
#include "blackmisc/loghandler.h"
#include "blackmisc/identifierlist.h"
@@ -61,6 +62,11 @@ namespace BlackCore
this->m_dBusInterface->callDBus(QLatin1Literal("logMessage"), message, origin);
}
void CContextApplicationProxy::changeSettings(const CVariantMap &settings, const CIdentifier &origin)
{
this->m_dBusInterface->callDBus(QLatin1Literal("changeSettings"), settings, origin);
}
BlackMisc::CIdentifier CContextApplicationProxy::registerApplication(const CIdentifier &application)
{
return this->m_dBusInterface->callDBusRet<BlackMisc::CIdentifier>(QLatin1Literal("registerApplication"), application);