and one more example
This commit is contained in:
parent
f9e5171ace
commit
466931e527
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue