Add object manager support to IConnection interface (#54)

This commit is contained in:
Stanislav Angelovič
2019-05-27 20:51:42 +02:00
committed by GitHub
parent c13ee60b7e
commit 4b0c23204d
6 changed files with 30 additions and 0 deletions
+11
View File
@@ -90,6 +90,17 @@ namespace sdbus {
*/
virtual void leaveProcessingLoop() = 0;
/*!
* @brief Add an ObjectManager at the specified D-Bus object path
*
* Creates an ObjectManager interface at the specified object path on
* the connection. This is a convenient way to interrogate a connection
* to see what objects it has.
*
* @throws sdbus::Error in case of failure
*/
virtual void addObjectManager( const std::string& objectPath ) = 0;
inline virtual ~IConnection() = 0;
};