summaryrefslogtreecommitdiffstats
path: root/tests/libother
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-15 17:48:07 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-26 22:15:51 -0200
commit96ec538edebf7f754fbb6cbff7f126a71673a0e1 (patch)
tree7be3a0ebaf6527d10ee0734caa26b439c7c2296c /tests/libother
parent08d106b8d67ca22045d3a59b4a05ac0e35d09bd9 (diff)
downloadshiboken-96ec538edebf7f754fbb6cbff7f126a71673a0e1.tar.gz
shiboken-96ec538edebf7f754fbb6cbff7f126a71673a0e1.tar.xz
shiboken-96ec538edebf7f754fbb6cbff7f126a71673a0e1.zip
Write the enum name based on enum module, not the current module being generated.
Diffstat (limited to 'tests/libother')
-rw-r--r--tests/libother/otherderived.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h
index e449e29a..994aaca6 100644
--- a/tests/libother/otherderived.h
+++ b/tests/libother/otherderived.h
@@ -35,8 +35,12 @@
#ifndef OTHERDERIVED_H
#define OTHERDERIVED_H
-#include <libsample/libsamplemacros.h>
-#include <libsample/abstract.h>
+#include "libsamplemacros.h"
+#include "abstract.h"
+#include "derived.h"
+
+class ObjectType;
+class Complex;
class LIBSAMPLE_API OtherDerived : public Abstract
{
@@ -46,6 +50,10 @@ public:
virtual void pureVirtual();
virtual void unpureVirtual();
+ void useObjectTypeFromOtherModule(ObjectType*) {}
+ void useValueTypeFromOtherModule(const Complex&) {}
+ void useEnumTypeFromOtherModule(OverloadedFuncEnum) {}
+
// factory method
static Abstract* createObject();