events: Give EventWrapped a default name and description
This commit is contained in:
@@ -466,6 +466,14 @@ class EventWrapper : public Event
|
||||
}
|
||||
|
||||
void process() { (object->*F)(); }
|
||||
|
||||
const std::string
|
||||
name() const
|
||||
{
|
||||
return object->name() + ".wrapped_event";
|
||||
}
|
||||
|
||||
const char *description() const { return "EventWrapped"; }
|
||||
};
|
||||
|
||||
inline void
|
||||
|
||||
Reference in New Issue
Block a user