refs #485, remove all objects when closing DBusServer

This commit is contained in:
Klaus Basan
2016-02-16 15:45:40 +01:00
committed by Mathew Sutcliffe
parent 4a0bc5dda3
commit 79cbcbc88f
2 changed files with 9 additions and 1 deletions

View File

@@ -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);