Add support for ObjectManager and other standard D-Bus interfaces (#55)

Fixes #50
This commit is contained in:
Stanislav Angelovič authored and GitHub committed 2019-05-29 22:28:15 +02:00
1 parent 4b0c23204d
commit 91fa35140b
36 files changed
+541 -235

No files matched your search

+5
View File
@@ -211,6 +211,11 @@ public:
return object_.getProperty("state").onInterface(INTERFACE_NAME);
}
void state(const std::string& value)
{
object_.setProperty("state").onInterface(INTERFACE_NAME).toValue(value);
}
uint32_t action()
{
return object_.getProperty("action").onInterface(INTERFACE_NAME);