mirror of
https://review.haiku-os.org/haiku
synced 2025-01-24 07:14:48 +01:00
25 lines
430 B
C
25 lines
430 B
C
|
/*
|
||
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||
|
* Distributed under the terms of the MIT License.
|
||
|
*/
|
||
|
#ifndef ERROR_OUTPUT_H
|
||
|
#define ERROR_OUTPUT_H
|
||
|
|
||
|
|
||
|
#include <stdarg.h>
|
||
|
|
||
|
#include <SupportDefs.h>
|
||
|
|
||
|
|
||
|
class ErrorOutput {
|
||
|
public:
|
||
|
virtual ~ErrorOutput();
|
||
|
|
||
|
virtual void PrintErrorVarArgs(const char* format,
|
||
|
va_list args) = 0;
|
||
|
void PrintError(const char* format, ...);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // ERROR_OUTPUT_H
|