From 72e3d4c55a6569d966059f762824c38d06055871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 29 Oct 2016 23:24:31 +0200 Subject: New upstream version 0.25.0 --- plugins/shotwell-plugin-common.vapi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'plugins/shotwell-plugin-common.vapi') 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; } + } + } + } +} -- cgit v1.2.3