diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-15 17:48:07 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 22:15:51 -0200 |
commit | 96ec538edebf7f754fbb6cbff7f126a71673a0e1 (patch) | |
tree | 7be3a0ebaf6527d10ee0734caa26b439c7c2296c /tests/libother | |
parent | 08d106b8d67ca22045d3a59b4a05ac0e35d09bd9 (diff) |
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.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 <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(); |