Package Kit: Rename InstallationLocationInfo::OldState to ActiveState.

It doesn't refer to some random old state, but the currently active
one. (If the currently active state is the default one, then it will
return nothing.) So, this should make things clearer.

Change-Id: Ib3fe842f5fb51eaf2ef2f31bad8b292b47a3fb36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10403
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2026-03-03 22:14:57 +00:00
committed by waddlesplash
parent 1b43451034
commit 79ab5081b2
4 changed files with 13 additions and 13 deletions
@@ -45,8 +45,8 @@ public:
void SetCurrentlyActivePackageInfos(
const BPackageInfoSet& infos);
const BString& OldStateName() const;
void SetOldStateName(const BString& name);
const BString& ActiveStateName() const;
void SetActiveStateName(const BString& name);
int64 ChangeCount() const;
void SetChangeCount(int64 changeCount);
@@ -58,7 +58,7 @@ private:
BPackageInfoSet fLatestActivePackageInfos;
BPackageInfoSet fLatestInactivePackageInfos;
BPackageInfoSet fCurrentlyActivePackageInfos;
BString fOldStateName;
BString fActiveStateName;
int64 fChangeCount;
};