refs #268 populated CSimulatorXPlane with the implementation code to connect to XBus and get the aircraft situation and model via CXBusServiceProxy

This commit is contained in:
Mathew Sutcliffe
2014-06-15 14:49:54 +01:00
parent 271c973f6e
commit 4ebb03bd0d
4 changed files with 89 additions and 9 deletions

View File

@@ -12,10 +12,10 @@ namespace BlackSimPlugin
namespace XPlane
{
CXBusServiceProxy::CXBusServiceProxy(QDBusConnection &connection, QObject *parent) : QObject(parent)
CXBusServiceProxy::CXBusServiceProxy(QDBusConnection &connection, QObject *parent, bool dummy) : QObject(parent)
{
m_dbusInterface = new BlackMisc::CGenericDBusInterface(BlackCore::CDBusServer::ServiceName, ObjectPath(), InterfaceName(), connection, this);
relaySignals();
if (! dummy) { relaySignals(); }
}
void CXBusServiceProxy::relaySignals()