No subject
renato fringuello
rfringuello at gmail.com
Wed Jun 4 00:36:07 PDT 2014
Hi, I’m using DBUS declaring my methods in the xml files and then I use
qdbusxml2cpp to generate my .h and .cpp files. I can use the native types
(like “s”, “i”, “b”) pretty well but I need to use a custom type.
I know I have to add the annotation to the xml file but I can’t figure out
how to specify my type.
Let’s say this is my class:
typedef enum{...} TestAttribute
class Test
{
public:
//const, deconst, operators...
private:
TestAttribute enumerator;
}
How can I pass this kind of object as argument of a method in the xml?
Thanks a lot guys!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20140604/3d4d09e9/attachment.html>
More information about the dbus
mailing list