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 Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
Attributes.h More work on package kit: 2011-01-27 23:17:03 +00:00
CommitTransactionResult.h package daemon: Rework error and issue propagation to client 2014-06-15 17:21:01 +02:00
Context.h Package Kit: Fix -Wmismatched-tags 2018-08-25 18:53:32 +00:00
DownloadFileRequest.h Add DownloadFileRequest 2013-04-20 21:40:11 +02:00
DropRepositoryRequest.h more work on package kit: 2011-01-25 19:36:09 +00:00
GlobalWritableFileInfo.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00
InstallationLocationInfo.h BInstallationLocationInfo: Provide more info 2014-05-04 20:59:01 +02:00
Job.h Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
PackageArchitecture.h Package kit: add likely-useful architectures 2019-02-20 22:29:36 +00:00
PackageDefs.h Remove /boot/common for good 2013-10-03 21:52:25 +02:00
PackageFlags.h * implemented checking of licenses, such that it is no longer possible 2011-02-08 19:50:36 +00:00
PackageInfo.h BPackageInfo: Add ArchitectureName() 2013-11-27 15:38:42 +01:00
PackageInfoAttributes.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00
PackageInfoContentHandler.h Add class BPackageInfoContentHandler 2011-07-17 16:55:21 +02:00
PackageInfoSet.h BPackageInfoSet::Iterator: Fix NULL pointer dereference 2013-04-14 17:06:25 +02:00
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 * fix value of all enumeration types that are stored as part of a 2011-02-15 18:33:19 +00:00
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 Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
RepositoryCache.h BRepositoryCache: use BStandardErrorOutput 2013-07-04 19:02:10 +02:00
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 Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
User.h BPackageInfoContentHandler: Handle new attributes 2013-05-28 02:44:13 +02:00
UserSettingsFileInfo.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00
WritableFileUpdateType.h hpkg format: Generalize user/global settings file attributes 2013-06-06 00:17:02 +02:00