tbx
0.7.6
|
Listen for the pre quit message from the desktop. More...
#include <prequitlistener.h>
Public Member Functions | |
virtual void | pre_quit (PreQuitEvent &event)=0 |
Called when the prequit message has been received from the desktop. More... | |
![]() | |
virtual | ~Listener () |
Destroy the listener object. | |
Additional Inherited Members | |
![]() | |
Listener () | |
Construct the Listener object. | |
Listen for the pre quit message from the desktop.
|
pure virtual |
Called when the prequit message has been received from the desktop.
To stop the application being quitted call the cancel_quit method on the passed event.
To restart the quit later take a copy of the QuitRestarter class from the event and call restart_quit on it when ready.
Implemented in tbx::doc::DocManager.