haiku/headers/os/package
Ryan Leavengood b711002d34 HaikuDepot: Set package state when loading single package
Without this, even installed packages still get an "Install" button.

Fixes #14821.

This was implemented by adding BPackageRoster::IsPackageActive. I decided to
have this take a location since GetActivePackages also did, but as noted in my
TODO comment, I think this is awkward.

It would also be nice to show the user they have a different version of a
particular package, but that would require some changes to IsPackageActive.

Change-Id: Iab0d35eb6b671a17711b0214b15164d296927e5a
Reviewed-on: https://review.haiku-os.org/c/1694
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-08-08 07:09:35 +00:00
..
hpkg PackageKit: Fix BPackageInfoAttributeValue::Clear for GCC2. 2019-03-03 17:04:22 -05:00
solver pkgman search: Add --requirements option 2015-11-20 20:55:12 +01:00
AddRepositoryRequest.h
Attributes.h
CommitTransactionResult.h
Context.h Package Kit: Fix -Wmismatched-tags 2018-08-25 18:53:32 +00:00
DownloadFileRequest.h
DropRepositoryRequest.h
GlobalWritableFileInfo.h
InstallationLocationInfo.h
Job.h
PackageArchitecture.h Package kit: add likely-useful architectures 2019-02-20 22:29:36 +00:00
PackageDefs.h
PackageFlags.h
PackageInfo.h
PackageInfoAttributes.h
PackageInfoContentHandler.h
PackageInfoSet.h
PackageResolvable.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
PackageResolvableExpression.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
PackageResolvableOperator.h
PackageRoster.h HaikuDepot: Set package state when loading single package 2019-08-08 07:09:35 +00:00
PackageVersion.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
RefreshRepositoryRequest.h
RepositoryCache.h
RepositoryConfig.h HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
RepositoryInfo.h HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
Request.h
User.h
UserSettingsFileInfo.h
WritableFileUpdateType.h