diff options
Diffstat (limited to 'plugins/shotwell-plugin-dev-1.0.vapi')
-rw-r--r-- | plugins/shotwell-plugin-dev-1.0.vapi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/shotwell-plugin-dev-1.0.vapi b/plugins/shotwell-plugin-dev-1.0.vapi index d88dfd2..fd0d0a8 100644 --- a/plugins/shotwell-plugin-dev-1.0.vapi +++ b/plugins/shotwell-plugin-dev-1.0.vapi @@ -119,6 +119,21 @@ namespace Spit { } namespace Publishing { [CCode (cheader_filename = "shotwell-plugin-dev-1.0.h")] + public interface Authenticator : GLib.Object { + public abstract void authenticate (); + public abstract bool can_logout (); + public abstract GLib.HashTable<string,GLib.Variant> get_authentication_parameter (); + public abstract void logout (); + public abstract void refresh (); + public signal void authenticated (); + public signal void authentication_failed (); + } + [CCode (cheader_filename = "shotwell-plugin-dev-1.0.h")] + public interface AuthenticatorFactory : GLib.Object { + public abstract Spit.Publishing.Authenticator? create (string provider, Spit.Publishing.PluginHost host); + public abstract Gee.List<string> get_available_authenticators (); + } + [CCode (cheader_filename = "shotwell-plugin-dev-1.0.h")] public interface DialogPane : GLib.Object { public enum GeometryOptions { NONE, |