1 /* 2 * Copyright 2011, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_ 6 #define _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_ 7 8 9 #include <SupportDefs.h> 10 11 #include <package/hpkg/PackageContentHandler.h> 12 13 14 namespace BPackageKit { 15 16 17 class BRepositoryInfo; 18 19 20 namespace BHPKG { 21 22 23 class BRepositoryContentHandler : public BPackageContentHandler { 24 public: 25 virtual status_t HandleRepositoryInfo( 26 const BRepositoryInfo& info) = 0; 27 }; 28 29 30 } // namespace BHPKG 31 32 } // namespace BPackageKit 33 34 35 #endif // _PACKAGE__HPKG__REPOSITORY_CONTENT_HANDLER_H_ 36