BPackageWriter: Add BPositionIO support
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
#include <package/hpkg/ErrorOutput.h>
|
||||
|
||||
|
||||
class BPositionIO;
|
||||
|
||||
|
||||
namespace BPackageKit {
|
||||
|
||||
namespace BHPKG {
|
||||
@@ -74,6 +77,9 @@ public:
|
||||
status_t Init(const char* fileName,
|
||||
const BPackageWriterParameters* parameters
|
||||
= NULL);
|
||||
status_t Init(BPositionIO* file, bool keepFile,
|
||||
const BPackageWriterParameters* parameters
|
||||
= NULL);
|
||||
status_t SetInstallPath(const char* installPath);
|
||||
void SetCheckLicenses(bool checkLicenses);
|
||||
status_t AddEntry(const char* fileName, int fd = -1);
|
||||
|
||||
Reference in New Issue
Block a user