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:
Ingo Weinhold
2013-04-10 12:58:12 +02:00
parent 40cbf171ef
commit 50888ebdc0
2 changed files with 25 additions and 5 deletions
@@ -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;
};