aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r--tests/libsample/objecttype.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h
index 18454a121..9c0bb2123 100644
--- a/tests/libsample/objecttype.h
+++ b/tests/libsample/objecttype.h
@@ -37,6 +37,7 @@
#include <list>
#include "str.h"
+#include "null.h"
#include "libsamplemacros.h"
@@ -105,6 +106,11 @@ public:
void setObjectNameWithSize(const char*, int size=9, const Str& name = Str("<unknown>"));
void setObjectNameWithSize(const Str& name = Str("<unknown>"), int size=9);
+ //Function used to comfuse the generator when two values accept Null as arg
+ void setObject(ObjectType *);
+ void setObject(const Null&);
+ int callId() const;
+
private:
ObjectType(const ObjectType&);
@@ -117,6 +123,10 @@ private:
ObjectTypeList m_children;
ObjectTypeLayout* m_layout;
+
+
+ //used on overload null test
+ int m_call_id;
};
LIBSAMPLE_API unsigned int objectTypeHash(const ObjectType* objectType);