BInstallationLocationInfo: Provide more info
* If the active state is not the latest state, also provide a package set for it. * If an old state has been booted, provide its name.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
|
||||
#include <Node.h>
|
||||
#include <String.h>
|
||||
|
||||
#include <package/PackageDefs.h>
|
||||
#include <package/PackageInfoSet.h>
|
||||
@@ -39,8 +40,14 @@ public:
|
||||
const BPackageInfoSet& LatestInactivePackageInfos() const;
|
||||
void SetLatestInactivePackageInfos(
|
||||
const BPackageInfoSet& infos);
|
||||
|
||||
const BPackageInfoSet& CurrentlyActivePackageInfos() const;
|
||||
void SetCurrentlyActivePackageInfos(
|
||||
const BPackageInfoSet& infos);
|
||||
|
||||
const BString& OldStateName() const;
|
||||
void SetOldStateName(const BString& name);
|
||||
|
||||
int64 ChangeCount() const;
|
||||
void SetChangeCount(int64 changeCount);
|
||||
|
||||
@@ -50,6 +57,8 @@ private:
|
||||
node_ref fPackageDirectoryRef;
|
||||
BPackageInfoSet fLatestActivePackageInfos;
|
||||
BPackageInfoSet fLatestInactivePackageInfos;
|
||||
BPackageInfoSet fCurrentlyActivePackageInfos;
|
||||
BString fOldStateName;
|
||||
int64 fChangeCount;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user