00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __CS_IVARIA_STDREP_H__
00020 #define __CS_IVARIA_STDREP_H__
00021
00022 #include "csutil/scf.h"
00023
00024 struct iConsoleOutput;
00025 struct iNativeWindowManager;
00026 struct iReporter;
00027
00028 SCF_VERSION (iStandardReporterListener, 0, 0, 2);
00029
00033 struct iStandardReporterListener : public iBase
00034 {
00036 virtual void SetOutputConsole (iConsoleOutput* console) = 0;
00038 virtual void SetNativeWindowManager (iNativeWindowManager* wm) = 0;
00040 virtual void SetReporter (iReporter* rep) = 0;
00042 virtual void SetDebugFile (const char* filename) = 0;
00048 virtual void SetDefaults () = 0;
00049
00056 virtual void SetMessageDestination (int severity,
00057 bool do_stdout, bool do_stderr, bool do_console,
00058 bool do_alert, bool do_debug, bool do_popup = false) = 0;
00059
00064 virtual void RemoveMessages (int severity, bool remove) = 0;
00065
00070 virtual void ShowMessageID (int severity, bool showid) = 0;
00071 };
00072
00073 #endif // __CS_IVARIA_STDREP_H__
00074