diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-01-18 11:50:56 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-01-18 11:50:56 +0100 |
commit | bc37493a0af0a88ddbc5203d5ee5686ea5bd064d (patch) | |
tree | d5a79e2102c7df5ffa4b7be6d3fba768942e6e9d /vapi/packagekit-glib2.vapi | |
parent | 23fae167868ed5ae2fb5ed59e4c6e4a26e0300fb (diff) | |
download | vala-bc37493a0af0a88ddbc5203d5ee5686ea5bd064d.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/packagekit-glib2.vapi')
-rw-r--r-- | vapi/packagekit-glib2.vapi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi index 970d60451..933072107 100644 --- a/vapi/packagekit-glib2.vapi +++ b/vapi/packagekit-glib2.vapi @@ -705,6 +705,8 @@ namespace Pk { [CCode (finish_name = "pk_task_generic_finish")] public async Pk.Results update_packages_async ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error; public Pk.Results update_packages_sync ([CCode (array_length = false, array_null_terminated = true)] string[] package_ids, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error; + public async void upgrade_system_async (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback); + public Pk.Results upgrade_system_sync (string distro_id, Pk.UpgradeKind upgrade_kind, GLib.Cancellable? cancellable, Pk.ProgressCallback progress_callback) throws GLib.Error; public bool user_accepted (uint request); public bool user_declined (uint request); [CCode (finish_name = "pk_task_generic_finish")] @@ -1361,10 +1363,14 @@ namespace Pk { [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static bool offline_auth_set_prepared_ids (string package_ids) throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] + public static bool offline_auth_set_prepared_upgrade_version (string release_ver) throws GLib.Error; + [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static bool offline_auth_set_results (Pk.Results results) throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static bool offline_auth_trigger (Pk.OfflineAction action) throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] + public static bool offline_auth_trigger_upgrade (Pk.OfflineAction action) throws GLib.Error; + [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static bool offline_cancel (GLib.Cancellable? cancellable = null) throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static bool offline_clear_results (GLib.Cancellable? cancellable = null) throws GLib.Error; @@ -1379,6 +1385,10 @@ namespace Pk { [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static Pk.PackageSack offline_get_prepared_sack () throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] + public static GLib.FileMonitor offline_get_prepared_upgrade_monitor (GLib.Cancellable? cancellable = null) throws GLib.Error; + [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] + public static string offline_get_prepared_upgrade_version () throws GLib.Error; + [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static Pk.Results offline_get_results () throws GLib.Error; [CCode (cheader_filename = "packagekit-glib2/packagekit.h")] public static uint64 offline_get_results_mtime () throws GLib.Error; |