summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-26 21:54:15 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-26 22:15:53 -0200
commit35cb2ccfbae93645f357dc83e13a4882eff80d23 (patch)
tree62855bf92b29e4ef9b9cc44eea215ae53accd710 /tests
parent2d462f1397e87ee929b795ba896ca3d5344c2583 (diff)
downloadshiboken-35cb2ccfbae93645f357dc83e13a4882eff80d23.tar.gz
shiboken-35cb2ccfbae93645f357dc83e13a4882eff80d23.tar.xz
shiboken-35cb2ccfbae93645f357dc83e13a4882eff80d23.zip
Export converters when needed.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/libother/otherderived.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h
index d980ec78..447c6c56 100644
--- a/tests/libother/otherderived.h
+++ b/tests/libother/otherderived.h
@@ -38,9 +38,10 @@
#include "libsamplemacros.h"
#include "abstract.h"
#include "derived.h"
+#include "objecttype.h"
+#include "complex.h"
class ObjectType;
-class Complex;
class LIBSAMPLE_API OtherDerived : public Abstract
{
@@ -52,7 +53,8 @@ public:
virtual PrintFormat returnAnEnum() { return Short; }
void useObjectTypeFromOtherModule(ObjectType*) {}
- void useValueTypeFromOtherModule(const Complex&) {}
+ Event useValueTypeFromOtherModule(const Event& e) { return e; }
+ Complex useValueTypeFromOtherModule(const Complex& c) { return c; }
void useEnumTypeFromOtherModule(OverloadedFuncEnum) {}
// factory method