* Fixed implementation of D-Bus properties
* Added an example to demonstrate implementation of D-Bus properties * Fixed DBus::Server (should work with the tcp transport too, see related TODO item) git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@8158 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
19712668b1
commit
1b84dc5abc
30 changed files with 750 additions and 121 deletions
|
@ -87,7 +87,8 @@ MessageIter& operator << ( MessageIter& iter, const Variant& val )
|
|||
|
||||
MessageIter& operator >> ( MessageIter& iter, Variant& val )
|
||||
{
|
||||
//TODO: check if iter really points to a variant
|
||||
if(iter.type() != DBUS_TYPE_VARIANT)
|
||||
throw ErrorInvalidArgs("variant type expected");
|
||||
|
||||
val.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue