00001
00002
00003
00004
00005
00006
00007
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