95d84e4176
* added my own copyright to a couple of files that I changed git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40321 a95241bf-73f2-0310-859d-f6bbb57e9c96
35 lines
561 B
C++
35 lines
561 B
C++
/*
|
|
* Copyright 2009,2011, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _PACKAGE__HPKG__ERROR_OUTPUT_H_
|
|
#define _PACKAGE__HPKG__ERROR_OUTPUT_H_
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
namespace BPackageKit {
|
|
|
|
namespace BHPKG {
|
|
|
|
|
|
class BErrorOutput {
|
|
public:
|
|
virtual ~BErrorOutput();
|
|
|
|
virtual void PrintErrorVarArgs(const char* format,
|
|
va_list args) = 0;
|
|
void PrintError(const char* format, ...);
|
|
};
|
|
|
|
|
|
} // namespace BHPKG
|
|
|
|
} // namespace BPackageKit
|
|
|
|
|
|
#endif // _PACKAGE__HPKG__PACKAGE_OUTPUT_H_
|