From 50e58a81949c32c3154f5bd65fc68f2b3f8d7d26 Mon Sep 17 00:00:00 2001 From: Lauro Neto Date: Thu, 18 Mar 2010 17:39:20 -0300 Subject: Adding greedy method to Collector This method will somehow conflict with the external operator in libother OtherObjectType --- tests/libsample/objecttype.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/libsample/objecttype.h') 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(this); } + bool causeEvent(Event::EventType eventType); // Returns true if the event is processed. -- cgit v1.2.3