Added simple wrapper for calling DBus interfaces.

This commit is contained in:
Tristan Hume 2015-04-29 18:34:01 -04:00
parent 9a028b3a29
commit 9a73bcaad2
2 changed files with 44 additions and 0 deletions

View file

@ -54,6 +54,7 @@ class Message {
dbus_message_iter_init(msg, &iter);
return readIter!T(&iter);
}
alias read to;
Tup readTuple(Tup)() if(isTuple!Tup && allCanDBus!(Tup.Types)) {
DBusMessageIter iter;