mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #199, sendStatusMessage now in application context (an only done via application context)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#ifndef BLACKCORE_CONTEXTAPPLICATION_IMPL_H
|
||||
#define BLACKCORE_CONTEXTAPPLICATION_IMPL_H
|
||||
|
||||
#include "context_application.h"
|
||||
#include "context_application_base.h"
|
||||
#include "context_runtime.h"
|
||||
#include "dbus_server.h"
|
||||
|
||||
@@ -23,6 +23,16 @@ namespace BlackCore
|
||||
Q_OBJECT
|
||||
friend class CRuntime;
|
||||
|
||||
public slots:
|
||||
//! \copydoc IContextApplication::ping()
|
||||
virtual qint64 ping(qint64 token) const override;
|
||||
|
||||
//! \brief Status message
|
||||
virtual void sendStatusMessage(const BlackMisc::CStatusMessage &message) override;
|
||||
|
||||
//! Send status messages
|
||||
virtual void sendStatusMessages(const BlackMisc::CStatusMessageList &messages) override;
|
||||
|
||||
//! \copydoc CContext::reEmitSignalFromProxy
|
||||
virtual void signalFromProxy(const QString &signalName) override;
|
||||
|
||||
@@ -37,13 +47,6 @@ namespace BlackCore
|
||||
server->addObject(IContextApplication::ObjectPath(), this);
|
||||
return this;
|
||||
}
|
||||
public:
|
||||
//! Destructor
|
||||
virtual ~CContextApplication() {}
|
||||
|
||||
public slots:
|
||||
//! \copydoc IContextApplication::ping()
|
||||
virtual qint64 ping(qint64 token) const override;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user