1/*
2 * Copyright 2009,2011, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _PACKAGE__HPKG__ERROR_OUTPUT_H_
6#define _PACKAGE__HPKG__ERROR_OUTPUT_H_
7
8
9#include <stdarg.h>
10
11#include <SupportDefs.h>
12
13
14namespace BPackageKit {
15
16namespace BHPKG {
17
18
19class BErrorOutput {
20public:
21	virtual						~BErrorOutput();
22
23	virtual	void				PrintErrorVarArgs(const char* format,
24									va_list args) = 0;
25			void				PrintError(const char* format, ...);
26};
27
28
29}	// namespace BHPKG
30
31}	// namespace BPackageKit
32
33
34#endif	// _PACKAGE__HPKG__PACKAGE_OUTPUT_H_
35