Implemented repository writing:
* fleshed out RepositoryWriterImpl * renamed BRepositoryHeader to BRepositoryInfo (in accordance with BPackageInfo) * adjusted BRepositoryInfo to be able to parse itself from a driver_settings file * added package_repo binary (only 'create' works as of yet) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,15 +9,12 @@
|
||||
#include <Entry.h>
|
||||
#include <String.h>
|
||||
|
||||
#include <package/RepositoryHeader.h>
|
||||
#include <package/RepositoryInfo.h>
|
||||
|
||||
|
||||
namespace BPackageKit {
|
||||
|
||||
|
||||
//class RepositoryHeader;
|
||||
|
||||
|
||||
class BRepositoryCache {
|
||||
public:
|
||||
BRepositoryCache();
|
||||
@@ -27,7 +24,7 @@ public:
|
||||
status_t SetTo(const BEntry& entry);
|
||||
status_t InitCheck() const;
|
||||
|
||||
const BRepositoryHeader& Header() const;
|
||||
const BRepositoryInfo& Info() const;
|
||||
const BEntry& Entry() const;
|
||||
bool IsUserSpecific() const;
|
||||
|
||||
@@ -37,7 +34,7 @@ private:
|
||||
status_t fInitStatus;
|
||||
|
||||
BEntry fEntry;
|
||||
BRepositoryHeader fHeader;
|
||||
BRepositoryInfo fInfo;
|
||||
bool fIsUserSpecific;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user