console.h File Reference

#include <cstddef>
Include dependency graph for console.h:

Go to the source code of this file.

Defines

#define INCLUDED_CONSOLE_H
#define SYS_VRB   0
 verbose support (on/off)
#define SYS_STD   1
 standard print level - this is the default
#define SYS_WRN   2
 warnings
#define SYS_ERR   3
 error
#define SYS_NOCON   4
 no console, only print to the file (useful whenever Sys_Printf and output IS the problem)

Typedefs

typedef struct _GtkWidget GtkWidget
typedef struct _GtkWindow GtkWindow

Functions

std::size_t Sys_Print (int level, const char *buf, std::size_t length)
TextOutputStream & getSysPrintOutputStream ()
TextOutputStream & getSysPrintErrorStream ()
TextOutputStream & getSysPrintWarningStream ()
GtkWidgetConsole_constructWindow (GtkWindow *toplevel)
void Sys_LogFile (bool enable)

Variables

bool g_Console_enableLogfile

Define Documentation

#define INCLUDED_CONSOLE_H

Definition at line 23 of file console.h.

#define SYS_ERR   3

error

Definition at line 30 of file console.h.

#define SYS_NOCON   4

no console, only print to the file (useful whenever Sys_Printf and output IS the problem)

Definition at line 31 of file console.h.

#define SYS_STD   1

standard print level - this is the default

Definition at line 28 of file console.h.

#define SYS_VRB   0

verbose support (on/off)

Definition at line 27 of file console.h.

#define SYS_WRN   2

warnings

Definition at line 29 of file console.h.


Typedef Documentation

typedef struct _GtkWidget GtkWidget

Definition at line 39 of file console.h.

typedef struct _GtkWindow GtkWindow

Definition at line 40 of file console.h.


Function Documentation

GtkWidget* Console_constructWindow ( GtkWindow toplevel  ) 
TextOutputStream& getSysPrintErrorStream (  ) 
TextOutputStream& getSysPrintOutputStream (  ) 
TextOutputStream& getSysPrintWarningStream (  ) 
void Sys_LogFile ( bool  enable  ) 
std::size_t Sys_Print ( int  level,
const char *  buf,
std::size_t  length 
)

Variable Documentation


Generated by  doxygen 1.6.2