32 #include "YSimpleEventHandler.h"
85 unsigned long serial()
const {
return _serial; }
121 static const char *
toString( EventReason reason );
156 EventType _eventType;
157 unsigned long _serial;
160 static unsigned long _nextSerial;
173 EventReason
reason = Activated,
185 EventReason
reason()
const {
return _reason; }
248 std::string _keySymbol;
266 YMenuEvent(
const std::string &
id ) :
YEvent( MenuEvent ), _item(0), _id(
id ) {}
280 std::string
id()
const {
return _id; }
362 std::ostream & operator<<( std::ostream & stream,
const YEvent * event );