mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Add DBus P2P support to XSwiftBus
ref T291
This commit is contained in:
committed by
Klaus Basan
parent
fd45de89d9
commit
488ff96ce6
@@ -24,6 +24,12 @@ namespace XSwiftBus
|
||||
dbus_threads_init_default();
|
||||
}
|
||||
|
||||
CDBusConnection::CDBusConnection(DBusConnection *connection)
|
||||
{
|
||||
dbus_connection_ref(connection);
|
||||
// Don't exit application, if the connection is disconnected
|
||||
dbus_connection_set_exit_on_disconnect(connection, false);
|
||||
m_connection.reset(connection);
|
||||
}
|
||||
|
||||
CDBusConnection::~CDBusConnection()
|
||||
|
||||
Reference in New Issue
Block a user