Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ExitCommand.cpp

Go to the documentation of this file.
00001 #include "headers.h"
00002 
00003 static const string exitCommandString = "exit";
00004 
00005 string 
00006 ExitCommand::getCommandString() {
00007     return exitCommandString;
00008 }
00009 
00010 void 
00011 ExitCommand::run(std::ostream& s) {
00012     GlobalObjects::destroy();
00013     exit(0);
00014 }
00015 
00016 
00017 void
00018 ExitCommand::getHtmlInterface(std::ostream& s) {
00019     //"<h2><a href=\"/?cmd=" + exitCommandString + "\">Exit the program</a></h2>\n";
00020 }
00021 
00022 

Generated at Thu Jul 11 13:31:50 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001