ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

textconsole.h File Reference

#include "common/scummsys.h"
Include dependency graph for textconsole.h:

Go to the source code of this file.


namespace  Common

Internal interface to the QuickTime audio decoder.


typedef void(* Common::OutputFormatter )(char *dst, const char *src, size_t dstSize)
 An output formatter takes a source string and 'decorates' it with extra information, storing the result in a destination buffer.
typedef void(* Common::ErrorHandler )(const char *msg)
 A callback which is invoked by error() just before aborting.


void Common::setErrorOutputFormatter (OutputFormatter f)
 Set the output formatter used by error().
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.
void NORETURN_PRE error (const char *s,...) GCC_PRINTF(1
void warning (const char *s,...) GCC_PRINTF(1
 Print a warning message to the text console (stderr).



Function Documentation

void NORETURN_PRE error ( const char *  s,
void warning ( const char *  s,

Print a warning message to the text console (stderr).

Automatically prepends the text "WARNING: " and appends an exclamation mark and a newline.

Variable Documentation


Definition at line 63 of file textconsole.h.

Generated on Sat Sep 19 2020 05:02:29 for ResidualVM by doxygen 1.7.1
curved edge   curved edge