tbx  0.7.6
Public Member Functions | List of all members
tbx::PreQuitEvent Class Reference

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.
 

Detailed Description

Event passed to pre quit listeners.

Constructor & Destructor Documentation

◆ PreQuitEvent()

tbx::PreQuitEvent::PreQuitEvent ( const WimpMessage m,
int  reply_to 
)

Construct PreQuitEvent from prequit message received from the WIMP.

Parameters
mWimpMessage from prequit event
reply_totask to reply to to prevent the quit

The documentation for this class was generated from the following files: