haiku/headers/os/package/hpkg/RepositoryReader.h
Oliver Tappe 2b6e6760b6 * add listing of repository attributes to 'package_repo list'
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 12:48:02 +00:00

46 lines
786 B
C++

/*
* Copyright 2011, Haiku, Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _PACKAGE__HPKG__REPOSITORY_READER_H_
#define _PACKAGE__HPKG__REPOSITORY_READER_H_
#include <SupportDefs.h>
namespace BPackageKit {
namespace BHPKG {
namespace BPrivate {
class RepositoryReaderImpl;
}
using BPrivate::RepositoryReaderImpl;
class BErrorOutput;
class BRepositoryContentHandler;
class BRepositoryReader {
public:
BRepositoryReader(BErrorOutput* errorOutput);
~BRepositoryReader();
status_t Init(const char* fileName);
status_t ParseContent(
BRepositoryContentHandler* contentHandler);
private:
RepositoryReaderImpl* fImpl;
};
} // namespace BHPKG
} // namespace BPackageKit
#endif // _PACKAGE__HPKG__REPOSITORY_READER_H_