Implement #104: add getObjectPath() for classes (#105)

* Implement #104: add getObjectPath() for classes

* Implement #104: changes requested in review

Co-authored-by: Christian Schneider <cschneider@radiodata.biz>
This commit is contained in:
ChristianS99
2020-05-28 15:36:58 +02:00
committed by GitHub
co-authored by Christian Schneider
parent fb35a9a196
commit ae8849e545
8 changed files with 39 additions and 0 deletions
+5
View File
@@ -198,6 +198,11 @@ void Proxy::unregister()
interfaces_.clear();
}
const std::string& Proxy::getObjectPath() const
{
return objectPath_;
}
int Proxy::sdbus_async_reply_handler(sd_bus_message *sdbusMessage, void *userData, sd_bus_error */*retError*/)
{
auto* asyncCallData = static_cast<AsyncCalls::CallData*>(userData);