and one more example

This commit is contained in:
Andreas Volz 2011-02-14 23:33:31 +01:00
parent f9e5171ace
commit 466931e527
2 changed files with 8 additions and 0 deletions

View file

@ -31,5 +31,11 @@
<arg type="a(a(uu)s)" name="array" direction="out" />
</method>
<method name="Foo2">
<arg type="i" name="result" direction="out" />
<arg type="i" name="direction" direction="in" />
<arg type="a(a(uu)s)" name="array" direction="out" />
</method>
</interface>
</node>

View file

@ -26,6 +26,8 @@ public:
std::map< std::string, std::string > Info();
std::vector< ::DBus::Struct< std::vector< ::DBus::Struct< uint32_t, uint32_t > >, std::string > > Foo() {};
void Foo2(const int32_t& direction, int32_t& result, std::vector< ::DBus::Struct< std::vector< ::DBus::Struct< uint32_t, uint32_t > >, std::string > >& array) {};
};
#endif//__DEMO_ECHO_SERVER_H