Add support for ObjectManager and other standard D-Bus interfaces (#55)
Fixes #50
This commit is contained in:
1 parent
4b0c23204d
commit
91fa35140b
36 files changed
+541
-235
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user