#include <ExitCommand.h>
Inheritance diagram for VolVis::Commands::ExitCommand:
Public Member Functions | |
void | execute () |
ExitCommand (Gui::MainWindow *window) |
VolVis::Commands::ExitCommand::ExitCommand | ( | Gui::MainWindow * | window | ) | [inline] |
Constructor. Applies the main window, which will be closed when the command is executed.
window | main window of the application |
void VolVis::Commands::ExitCommand::execute | ( | ) | [inline, virtual] |
The main window is closed (this will close the whole application).
Implements VolVis::Commands::Command.