25 #ifndef TBX_USEREVENTLISTENER_H_
26 #define TBX_USEREVENTLISTENER_H_
29 #include "eventinfo.h"
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
const IdBlock & id_block() const
IdBlock for the current event.
Definition: eventinfo.h:71
PollBlock & _data
raw data from the event
Definition: eventinfo.h:53
Structure holding the raw data from a call to Wimp_Poll.
Definition: pollinfo.h:72
UserEvent(IdBlock &id_block, PollBlock &data)
Construct a user event listener with references to the underlying toolbox event.
Definition: usereventlistener.h:44
Information passed back by the Toolbox with each toolbox event providing information on where the eve...
Definition: pollinfo.h:42
UserEvent class holds details for a UserEventListener.
Definition: usereventlistener.h:38
PollBlock & data()
Return a PollBlock with the raw data of the event.
Definition: usereventlistener.h:49
virtual void user_event(UserEvent &event)=0
Destructor.
Base class for all toolbox event listeners.
Definition: listener.h:34
A UserEventListener can be used to capture any event on an object or component.
Definition: usereventlistener.h:62
Class to provide information on a toolbox event.
Definition: eventinfo.h:49