diff --git a/headers/os/package/hpkg/NoErrorOutput.h b/headers/os/package/hpkg/NoErrorOutput.h new file mode 100644 index 0000000000..5d5537ffea --- /dev/null +++ b/headers/os/package/hpkg/NoErrorOutput.h @@ -0,0 +1,29 @@ +/* + * Copyright 2013, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _PACKAGE__HPKG__NO_ERROR_OUTPUT_H_ +#define _PACKAGE__HPKG__NO_ERROR_OUTPUT_H_ + + +#include + + +namespace BPackageKit { + +namespace BHPKG { + + +class BNoErrorOutput : public BErrorOutput { +public: + virtual void PrintErrorVarArgs(const char* format, + va_list args); +}; + + +} // namespace BHPKG + +} // namespace BPackageKit + + +#endif // _PACKAGE__HPKG__NO_ERROR_OUTPUT_H_ diff --git a/src/kits/package/Jamfile b/src/kits/package/Jamfile index 185a6b9949..5059d6f193 100644 --- a/src/kits/package/Jamfile +++ b/src/kits/package/Jamfile @@ -73,6 +73,7 @@ SharedLibrary libpackage.so $(HPKG_SOURCES) # hpkg, but only libpackage + NoErrorOutput.cpp StandardErrorOutput.cpp : diff --git a/src/kits/package/hpkg/NoErrorOutput.cpp b/src/kits/package/hpkg/NoErrorOutput.cpp new file mode 100644 index 0000000000..151fa554cf --- /dev/null +++ b/src/kits/package/hpkg/NoErrorOutput.cpp @@ -0,0 +1,26 @@ +/* + * Copyright 2013, Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + * + * Authors: + * Ingo Weinhold + */ + + +#include + + +namespace BPackageKit { + +namespace BHPKG { + + +void +BNoErrorOutput::PrintErrorVarArgs(const char* format, va_list args) +{ +} + + +} // namespace BHPKG + +} // namespace BPackageKit