Ref T413, application context "getApplicationIdentifier" to get remote identifier

This commit is contained in:
Klaus Basan
2018-10-28 02:49:37 +02:00
parent c079f2d8b9
commit 31e836bb87
6 changed files with 24 additions and 0 deletions

View File

@@ -184,6 +184,11 @@ namespace BlackCore
return m_dBusInterface->callDBusRet<BlackMisc::CIdentifierList>(QLatin1String("getRegisteredApplications"));
}
CIdentifier CContextApplicationProxy::getApplicationIdentifier() const
{
return m_dBusInterface->callDBusRet<BlackMisc::CIdentifier>(QLatin1String("getApplicationIdentifier"));
}
bool CContextApplicationProxy::writeToFile(const QString &fileName, const QString &content)
{
if (fileName.isEmpty()) { return false; }