diff options
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r-- | tests/libsample/objecttype.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h index 3679b3b77..b606dd818 100644 --- a/tests/libsample/objecttype.h +++ b/tests/libsample/objecttype.h @@ -81,6 +81,8 @@ public: Str objectName() const; void setObjectName(const Str& name); + unsigned long identifier() const { return reinterpret_cast<unsigned long>(this); } + bool causeEvent(Event::EventType eventType); // Returns true if the event is processed. |