Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iStandardReporterListener Struct Reference

Interface to control the settings of the reporter listener plugin. More...

#include <stdrep.h>

Inheritance diagram for iStandardReporterListener:

iBase List of all members.

Public Methods

virtual void SetOutputConsole (iConsoleOutput *console)=0
 Set the output console to use.

virtual void SetNativeWindowManager (iNativeWindowManager *wm)=0
 Set the native window manager to use.

virtual void SetReporter (iReporter *rep)=0
 Set the reporter to use.

virtual void SetDebugFile (const char *filename)=0
 Set the debug file to use (standard filename).

virtual void SetDefaults ()=0
 Set useful defaults for output console, native window manager, reporter (will use iObjectRegistry to query for those). More...

virtual void SetMessageDestination (int severity, bool do_stdout, bool do_stderr, bool do_console, bool do_alert, bool do_debug)=0
 Control where some type of message (severity level from the reporter plugin: CS_REPORTER_...) will go to. More...

virtual void RemoveMessages (int severity, bool remove)=0
 Control if this reporter listener should remove messages of a certain severity. More...

virtual void ShowMessageID (int severity, bool showid)=0
 Control if the reporter should show message id as well. More...


Detailed Description

Interface to control the settings of the reporter listener plugin.


Member Function Documentation

void iStandardReporterListener::RemoveMessages ( int severity,
bool remove ) [pure virtual]
 

Control if this reporter listener should remove messages of a certain severity.

By default all messages are removed.

void iStandardReporterListener::SetDefaults ( ) [pure virtual]
 

Set useful defaults for output console, native window manager, reporter (will use iObjectRegistry to query for those).

The debug file will be 'debug.txt'

void iStandardReporterListener::SetMessageDestination ( int severity,
bool do_stdout,
bool do_stderr,
bool do_console,
bool do_alert,
bool do_debug ) [pure virtual]
 

Control where some type of message (severity level from the reporter plugin: CS_REPORTER_...) will go to.

Several of these flags can be on at the same time or none if you just want to ignore some message.

void iStandardReporterListener::ShowMessageID ( int severity,
bool showid ) [pure virtual]
 

Control if the reporter should show message id as well.

By default this is only done for fatal, bug, and debug severity levels.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000