tbx
0.7.3
|
Class to provide a listener to allow processing before the call to wimp poll. More...
#include <posteventlistener.h>
Public Member Functions | |
virtual void | post_event (int reason_code, const PollBlock &poll_block, const IdBlock &id_block, int reply_to)=0 |
Method called after the call to Wimp_Poll and any events have been processed. More... | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
Class to provide a listener to allow processing before the call to wimp poll.
There can only be one of these listeners and it is provided to give a hook for extra low-level processing required to implement some features.
|
pure virtual |
Method called after the call to Wimp_Poll and any events have been processed.
Note: The parameters passed may have been modified by the even processing
reason_code | poll reason code |
poll_block | pointer to an array of up to 64 integers with the poll block updated by Wimp Poll. The contents depend on the reason code. |
id_block | Toolbox id's for this message (if set) |
reply_to | for reason_code = 18 this is the task to reply to. |