2011-02-12 22:21:37 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2011, Haiku, Inc.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_
|
|
|
|
#define _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
2011-02-15 15:48:02 +03:00
|
|
|
#include <package/hpkg/PackageContentHandler.h>
|
|
|
|
|
2011-02-12 22:21:37 +03:00
|
|
|
|
|
|
|
namespace BPackageKit {
|
|
|
|
|
|
|
|
|
|
|
|
class BRepositoryInfo;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BHPKG {
|
|
|
|
|
|
|
|
|
2011-02-15 15:48:02 +03:00
|
|
|
class BRepositoryContentHandler : public BPackageContentHandler {
|
2011-02-12 22:21:37 +03:00
|
|
|
public:
|
|
|
|
virtual status_t HandleRepositoryInfo(
|
|
|
|
const BRepositoryInfo& info) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace BHPKG
|
|
|
|
|
|
|
|
} // namespace BPackageKit
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_
|