- fixed Strcut generation in generator tool

- added some test cases
This commit is contained in:
Andreas Volz 2011-02-15 23:58:42 +01:00
parent 466931e527
commit cdedb019b0
12 changed files with 319 additions and 17 deletions

View file

@ -27,15 +27,5 @@
<arg type="a{ss}" name="info" direction="out"/>
</method>
<method name="Foo">
<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

@ -24,10 +24,6 @@ public:
int32_t Sum(const std::vector<int32_t> & ints);
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