mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #485, remove all objects when closing DBusServer
This commit is contained in:
committed by
Mathew Sutcliffe
parent
4a0bc5dda3
commit
79cbcbc88f
@@ -56,6 +56,9 @@ namespace BlackMisc
|
||||
//! Construct a server for some arbitrary service
|
||||
CDBusServer(const QString &service, const QString &address, QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CDBusServer();
|
||||
|
||||
//! Add a QObject to be exposed via DBus
|
||||
void addObject(const QString &name, QObject *object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user