ScummVM
textconsole.cpp File Reference
#include "common/textconsole.h"
#include "common/system.h"
#include "common/str.h"
Include dependency graph for textconsole.cpp:

Go to the source code of this file.

Namespaces

 Common
 Internal interface to the QuickTime audio decoder.
 

Macros

#define FORBIDDEN_SYMBOL_EXCEPTION_exit
 

Functions

void Common::setErrorOutputFormatter (OutputFormatter f)
 Set the output formatter used by error(). More...
 
void Common::setErrorHandler (ErrorHandler handler)
 Set a callback that is invoked by error() after the error message has been printed, but before the application is terminated. More...
 
void warning (const char *s,...)
 
void NORETURN_PRE error (const char *s,...)
 

Variables

static OutputFormatter Common::s_errorOutputFormatter = nullptr
 
static ErrorHandler Common::s_errorHandler = nullptr
 

Macro Definition Documentation

◆ FORBIDDEN_SYMBOL_EXCEPTION_exit

#define FORBIDDEN_SYMBOL_EXCEPTION_exit

Definition at line 23 of file textconsole.cpp.

Function Documentation

◆ error()

void NORETURN_PRE error ( const char *  s,
  ... 
)

Definition at line 67 of file textconsole.cpp.

◆ warning()

void warning ( const char *  s,
  ... 
)

Definition at line 49 of file textconsole.cpp.