tbx
0.7.5
|
Event passed to pre quit listeners. More...
#include <prequitlistener.h>
Public Member Functions | |
PreQuitEvent (const WimpMessage &m, int reply_to) | |
Construct PreQuitEvent from prequit message received from the WIMP. More... | |
void | cancel_quit () |
Cancel the quit preceeded by this pre-quit message. | |
bool | cancelled () const |
Quit has already been cancelled by a previous pre-quit handler. | |
QuitRestarter | quit_restarter () const |
Return a class that can be used to restart the quit. | |
Event passed to pre quit listeners.
tbx::PreQuitEvent::PreQuitEvent | ( | const WimpMessage & | m, |
int | reply_to | ||
) |
Construct PreQuitEvent from prequit message received from the WIMP.
m | WimpMessage from prequit event |
reply_to | task to reply to to prevent the quit |