summaryrefslogtreecommitdiff
path: root/plugins/shotwell-plugin-common.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:24:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:24:31 +0200
commit72e3d4c55a6569d966059f762824c38d06055871 (patch)
treecc0013086494a7c97140ffdb4a0513a5f5aac245 /plugins/shotwell-plugin-common.vapi
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
New upstream version 0.25.0upstream/0.25.0
Diffstat (limited to 'plugins/shotwell-plugin-common.vapi')
-rw-r--r--plugins/shotwell-plugin-common.vapi18
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; }
+ }
+ }
+ }
+}