dbusobjectfactory — Utilities for creating objects out of dbus messages.


GObject*    dbus_object_factory             (DBusMessageIter *iter);


Contains functions that are needed to get an object from a dbus message.


dbus_object_factory ()

GObject*    dbus_object_factory             (DBusMessageIter *iter);

Creates a new object from the DBusMessages data fields. The message should be formatted as follows:

OBJECT_PATH:ClassName, UINT32:Arguments, STRING:ArgumentName, [TYPE]:Value If TYOE is OBJECT_PATH, the function will recursively call self and the object will be built.

iter : DBusMessageIter from which the data about the object to be should be read.
Returns : Newly created object.