Add a method to retrieve the unique name of a connection
This commit is contained in:
1 parent
d50a15b2a2
commit
5fe0f503ca
6 files changed
+24
No files matched your search
@@ -74,6 +74,13 @@ namespace sdbus {
|
||||
*/
|
||||
virtual void releaseName(const std::string& name) = 0;
|
||||
|
||||
/*!
|
||||
* @brief Retrieve the unique name of a connection. E.g. ":1.xx"
|
||||
*
|
||||
* @throws sdbus::Error in case of failure
|
||||
*/
|
||||
virtual std::string getUniqueName() = 0;
|
||||
|
||||
/*!
|
||||
* @brief Enters the D-Bus processing loop
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user