aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/objecttype.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/objecttype.h')
-rw-r--r--sources/shiboken2/tests/libsample/objecttype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/libsample/objecttype.h b/sources/shiboken2/tests/libsample/objecttype.h
index 1f2a9c7e8..caa50f02e 100644
--- a/sources/shiboken2/tests/libsample/objecttype.h
+++ b/sources/shiboken2/tests/libsample/objecttype.h
@@ -78,6 +78,8 @@ public:
inline static ObjectType* create() { return new ObjectType(); }
static ObjectType* createWithChild();
+ static const ObjectType *defaultInstance();
+
void setParent(ObjectType* parent);
inline ObjectType* parent() const { return m_parent; }
inline const ObjectTypeList& children() const { return m_children; }