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

stdio-errorhandler.h

Go to the documentation of this file.
00001 
00002 /***************************************************************************
00003  *                                                                         *
00004  *   This program is free software; you can redistribute it and/or modify  *
00005  *   it under the terms of the GNU General Public License as published by  *
00006  *   the Free Software Foundation; either version 2 of the License, or     *
00007  *   (at your option) any later version.                                   *
00008  *                                                                         *
00009  ***************************************************************************/
00010 
00011 
00012 #ifndef stdioerrorhandlerH
00013 #define stdioerrorhandlerH
00014 
00015 #include <sigc++/sigc++.h>
00016 #include "ascstring.h"
00017 
00018 
00019  class StdIoErrorHandler : public SigC::Object {
00020        void printStdout( const ASCString& msg );
00021        void printStderr( const ASCString& msg );
00022        void messageLogger( const ASCString& msg, int level );
00023     public:
00024        StdIoErrorHandler( bool quitOnFatalError = true );
00025  };
00026 
00027 
00028 #endif

Generated on Tue Jun 24 01:27:52 2008 for Advanced Strategic Command by  doxygen 1.4.2