From 96ec538edebf7f754fbb6cbff7f126a71673a0e1 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Fri, 15 Jan 2010 17:48:07 -0200 Subject: Write the enum name based on enum module, not the current module being generated. --- tests/libother/otherderived.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tests/libother/otherderived.h') diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h index e449e29af..994aaca66 100644 --- a/tests/libother/otherderived.h +++ b/tests/libother/otherderived.h @@ -35,8 +35,12 @@ #ifndef OTHERDERIVED_H #define OTHERDERIVED_H -#include -#include +#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(); -- cgit v1.2.3