summaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-04-29 18:41:50 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-30 09:46:49 -0300
commitd402db5680452241a5b85f7a4fd7db9bcc9ddbb8 (patch)
treed6060572479ded20796bd848f6e816539eeddda5 /tests/libsample/objecttype.h
parent902c70b6f34c6c712d867047d2e58ac41864c0be (diff)
downloadshiboken-d402db5680452241a5b85f7a4fd7db9bcc9ddbb8.tar.gz
shiboken-d402db5680452241a5b85f7a4fd7db9bcc9ddbb8.tar.xz
shiboken-d402db5680452241a5b85f7a4fd7db9bcc9ddbb8.zip
Adding test for #212 - Overloads with enums
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r--tests/libsample/objecttype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h
index 0515ecc9..8b9eda11 100644
--- a/tests/libsample/objecttype.h
+++ b/tests/libsample/objecttype.h
@@ -97,6 +97,9 @@ public:
// This method should be reimplemented by ObjectTypeLayout.
virtual bool isLayoutType() { return false; }
+ unsigned char callWithEnum(const Str& prefix, Event::EventType type, unsigned char value=80);
+ unsigned char callWithEnum(const Str& prefix, unsigned char value=0);
+
private:
ObjectType(const ObjectType&);
ObjectType& operator=(const ObjectType&);