BSolverRepository: Add a change count
... so we can easily check whether the repository has changed since the last time we used it.
This commit is contained in:
@@ -63,6 +63,8 @@ public:
|
||||
status_t AddPackages(
|
||||
BPackageInstallationLocation location);
|
||||
|
||||
uint64 ChangeCount() const;
|
||||
|
||||
private:
|
||||
typedef BObjectList<BSolverPackage> PackageList;
|
||||
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
uint8 fPriority;
|
||||
bool fIsInstalled;
|
||||
PackageList fPackages;
|
||||
uint64 fChangeCount;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user