#include <action.h>
Public Member Functions | |
virtual | ~quit_action () |
quit_action () | |
quit_action (const quit_action &) | |
quit_action & | operator= (const quit_action &) |
virtual void | operator() (int exit_status)=0 |
Definition at line 27 of file action.h.
virtual quit_action::~quit_action | ( | ) | [virtual] |
The destructor.
quit_action::quit_action | ( | ) |
The default constructor.
quit_action::quit_action | ( | const quit_action & | ) |
The copy constructor.
quit_action& quit_action::operator= | ( | const quit_action & | ) |
The assignment operator.
virtual void quit_action::operator() | ( | int | exit_status | ) | [pure virtual] |
The operator() method is called just before exit(exit_status) is called. It affords and opportunity to "clean up" before the program exits.
exit_status | The imminent exit status of the program. |
Implemented in quit_action_history_transaction_abort, quit_action_lock, quit_action_log, quit_action_pager, quit_action_undo, and quit_action_unlink.