mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Properly default initialze DBus dispatcher
This commit is contained in:
committed by
Klaus Basan
parent
868cae446a
commit
000bdee457
@@ -73,9 +73,9 @@ namespace XSwiftBus
|
|||||||
void operator()(DBusServer *obj) const { dbus_server_unref(obj); }
|
void operator()(DBusServer *obj) const { dbus_server_unref(obj); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CDBusDispatcher *m_dispatcher = nullptr;
|
||||||
std::unique_ptr<DBusServer, DBusServerDeleter> m_server;
|
std::unique_ptr<DBusServer, DBusServerDeleter> m_server;
|
||||||
CDBusError m_lastError;
|
CDBusError m_lastError;
|
||||||
CDBusDispatcher *m_dispatcher;
|
|
||||||
NewConnectionFunc m_newConnectionFunc;
|
NewConnectionFunc m_newConnectionFunc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user