Top | ![]() |
![]() |
![]() |
![]() |
enum | GsPluginStatus |
enum | GsPluginFlags |
enum | GsPluginError |
enum | GsPluginRefineFlags |
enum | GsPluginListAppsFlags |
enum | GsPluginRefineCategoriesFlags |
enum | GsPluginRefreshMetadataFlags |
enum | GsPluginListDistroUpgradesFlags |
enum | GsPluginManageRepositoryFlags |
enum | GsPluginUpdateAppsFlags |
enum | GsPluginRule |
enum | GsPluginAction |
void (*GsPluginProgressCallback) (GsPlugin *plugin
,guint progress
,gpointer user_data
);
Callback to report the progress of a particular plugin
through a particular
operation.
plugin |
the GsPlugin reporting its progress |
|
progress |
the percentage completion (0–100 inclusive), or
|
|
user_data |
user data passed to the calling function |
Since: 44
void (*GsPluginAppNeedsUserActionCallback) (GsPlugin *plugin
,GsApp *app
,AsScreenshot *action_screenshot
,gpointer user_data
);
Callback to ask the user to perform a physical action during a plugin operation.
This will typically be something like unplugging and reconnecting a hardware
device, and instructions will be given via action_screenshot
.
plugin |
the GsPlugin asking for user action |
|
app |
the related GsApp, or |
[nullable][transfer none] |
action_screenshot |
a screenshot (with caption
set) which gives the user instructions about what action to take, or |
[nullable][transfer none] |
user_data |
user data passed to the calling function |
Since: 44
The status of the plugin.
The failure error types.
Generic failure |
||
Action not supported |
||
Action was cancelled |
||
No network connection available |
||
Security policy forbid action |
||
No disk space to allow action |
||
Authentication was required |
||
Provided authentication was invalid |
||
The plugins installed are incompatible |
||
The download action failed |
||
The save-to-disk failed |
||
The data format is invalid |
||
The delete action failed |
||
A restart is required |
||
AC power is required |
||
The job timed out |
||
The system battery level is too low |
||
The refine flags.
No explicit flags set |
||
Require the app’s ID; this is the minimum possible requirement |
||
Require the license |
||
Require the URL |
||
Require the long description |
||
Require the installed and download sizes |
||
Require the rating |
||
Require the version |
||
Require the history |
||
Require enough to install or remove the package |
||
Require update details |
||
Require the origin |
||
Require related packages |
||
Require user and cache data sizes (Since: 41) |
||
Require available addons |
||
Allow packages to be returned |
||
Require update severity |
||
Require distro upgrades |
||
Require the provenance |
||
Require user-reviews |
||
Require user-ratings |
||
Normally the results of a refine are filtered to remove non-valid apps; if this flag is set, that won’t happen. This is intended to be used by internal GsPluginLoader code. (Since: 42) |
||
Require the icon to be loaded |
||
Require the needed permissions |
||
Require the origin hostname |
||
Require the origin for UI |
||
Require the runtime |
||
Require screenshot information |
||
Require categories |
||
Require project group |
||
Require developer name |
||
Require kudos |
||
Require content rating |
||
All flags (Since: 40) |
Flags for an operation to list apps matching a given query.
Since: 43
Flags for an operation to list available distro upgrades.
Since: 42
Flags for an operation on a repository.
No flags set. |
||
User initiated the job. |
||
Install the repository. |
||
Remove the repository. |
||
Enable the repository. |
||
Disable the repository. |
Since: 42
Flags for an operation to download or update apps.
No flags set. |
||
User initiated the job. |
||
Only use locally cached resources, and error if they don’t exist. |
||
Only download the resources, and don’t apply the updates. |
Since: 44
The rules used for ordering plugins. Plugins are expected to add rules in the init function for their GsPlugin subclass.
The plugin action.
Action is unknown |
||
Install an app |
||
Remove an app |
||
Download a distro upgrade |
||
Trigger a distro upgrade |
||
Launch an app |
||
Cancel the update |
||
Get the list of updates |
||
Get the list of sources |
||
Convert the file to an app |
||
Convert the URI to an app |
||
Get the list of historical updates |
||
Get appropriate language pack |
||
Install a repository (Since: 41) |
||
Remove a repository (Since: 41) |
||
Enable a repository (Since: 41) |
||
Disable a repository (Since: 41) |
||