aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/samplenamespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/samplenamespace.h')
-rw-r--r--tests/libsample/samplenamespace.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/libsample/samplenamespace.h b/tests/libsample/samplenamespace.h
index 3ac5b2601..e1578dc88 100644
--- a/tests/libsample/samplenamespace.h
+++ b/tests/libsample/samplenamespace.h
@@ -26,8 +26,7 @@
#include "libsamplemacros.h"
#include "str.h"
#include "point.h"
-
-class ObjectType;
+#include "objecttype.h"
// Anonymous global enum
enum {
@@ -130,6 +129,11 @@ LIBSAMPLE_API void forceDecisorSideA(const Point& pt, const Str& text, ObjectTyp
LIBSAMPLE_API void forceDecisorSideB(int a, ObjectType* object = 0);
LIBSAMPLE_API void forceDecisorSideB(int a, const Point& pt, const Str& text, ObjectType* object = 0);
+// Add a new signature on type system with only a Point value as parameter.
+LIBSAMPLE_API double passReferenceToValueType(const Point& point, double multiplier);
+// Add a new signature on type system with only a ObjectType pointer as parameter.
+LIBSAMPLE_API int passReferenceToObjectType(const ObjectType& obj, int multiplier);
+
} // namespace SampleNamespace
#endif // SAMPLENAMESPACE_H