xref: /haiku/headers/os/package/hpkg/PackageDataReader.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright 2009,2011, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _PACKAGE__HPKG__PACKAGE_DATA_READER_H_
6 #define _PACKAGE__HPKG__PACKAGE_DATA_READER_H_
7 
8 
9 #include <package/hpkg/DataReader.h>
10 
11 
12 namespace BPackageKit {
13 
14 namespace BHPKG {
15 
16 
17 class BBufferPool;
18 class BPackageData;
19 
20 
21 class BPackageDataReaderFactory {
22 public:
23 								BPackageDataReaderFactory();
24 
25 			status_t			CreatePackageDataReader(
26 									BAbstractBufferedDataReader* dataReader,
27 									const BPackageData& data,
28 									BAbstractBufferedDataReader*& _reader);
29 };
30 
31 
32 }	// namespace BHPKG
33 
34 }	// namespace BPackageKit
35 
36 
37 #endif	// _PACKAGE__HPKG__PACKAGE_DATA_READER_H_
38