| Top |
| enum | GsPluginStatus |
| enum | GsPluginFlags |
| enum | GsPluginError |
| enum | GsPluginRefineFlags |
| enum | GsPluginListAppsFlags |
| enum | GsPluginRefineCategoriesFlags |
| enum | GsPluginRefreshMetadataFlags |
| enum | GsPluginListDistroUpgradesFlags |
| enum | GsPluginManageRepositoryFlags |
| enum | GsPluginInstallAppsFlags |
| enum | GsPluginUninstallAppsFlags |
| enum | GsPluginUpdateAppsFlags |
| enum | GsPluginCancelOfflineUpdateFlags |
| enum | GsPluginDownloadUpgradeFlags |
| enum | GsPluginTriggerUpgradeFlags |
| enum | GsPluginLaunchFlags |
| enum | GsPluginFileToAppFlags |
| enum | GsPluginUrlToAppFlags |
| 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 install 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 do the installation. |
Since: 47
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
Flags for an operation to cancel a pending offline update.
Since: 47
The rules used for ordering plugins. Plugins are expected to add rules in the init function for their GsPlugin subclass.
The plugin action.