diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-29 23:25:59 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-29 23:25:59 +0200 |
commit | 6944ad9f9346341ee0fd120ec3ed0b7b56406436 (patch) | |
tree | ae59422da384a9463c306e1983be5ac46ff97c7d /plugins/shotwell-plugin-common.vapi | |
parent | 803e11e1c311a7ba4923d8d438eafa7ff62b463d (diff) | |
parent | 72e3d4c55a6569d966059f762824c38d06055871 (diff) |
Merge tag 'upstream/0.25.0'
Upstream version 0.25.0
Diffstat (limited to 'plugins/shotwell-plugin-common.vapi')
-rw-r--r-- | plugins/shotwell-plugin-common.vapi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/shotwell-plugin-common.vapi b/plugins/shotwell-plugin-common.vapi index 8b1a0e1..f6213af 100644 --- a/plugins/shotwell-plugin-common.vapi +++ b/plugins/shotwell-plugin-common.vapi @@ -54,6 +54,7 @@ namespace Publishing { protected void notify_authentication_failed (Spit.Publishing.PublishingError err); protected void notify_wire_message_unqueued (Soup.Message message); public void send_wire_message (Soup.Message message); + public void set_insecure (); public void stop_transactions (); public signal void authenticated (); public signal void authentication_failed (Spit.Publishing.PublishingError err); @@ -65,6 +66,7 @@ namespace Publishing { public void add_argument (string name, string value); protected virtual void add_header (string key, string value); protected void check_response (Soup.Message message) throws Spit.Publishing.PublishingError; + public string detailed_error_from_tls_flags (out GLib.TlsCertificate cert); public virtual void execute () throws Spit.Publishing.PublishingError; public Publishing.RESTSupport.Argument[] get_arguments (); public string? get_endpoint_url (); @@ -137,3 +139,19 @@ namespace Resources { [CCode (cheader_filename = "shotwell-plugin-common.h")] public static Gdk.Pixbuf[]? load_icon_set (GLib.File? icon_file); } +namespace Shotwell { + namespace Plugins { + namespace Common { + [CCode (cheader_filename = "shotwell-plugin-common.h")] + public abstract class WebAuthenticationPane : Spit.Publishing.DialogPane, GLib.Object { + public WebAuthenticationPane (); + public override void constructed (); + public WebKit.WebView get_view (); + public abstract void on_page_load (); + protected void set_cursor (Gdk.CursorType type); + public string login_uri { owned get; construct; } + public Spit.Publishing.DialogPane.GeometryOptions preferred_geometry { get; construct; } + } + } + } +} |