aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother')
-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 d980ec780..447c6c567 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