~elementary-pantheon/poa-eds-bridge/say-were-desktop

« back to all changes in this revision

Viewing changes to vapi/libebackend-1.2.vapi

  • Committer: Corentin Noël
  • Date: 2015-12-26 21:12:39 UTC
  • Revision ID: corentin@elementary.io-20151226211239-w5i1zdz7n3k10nu1
Updated to the latest bindings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
                public GLib.SocketConnectable ref_connectable ();
11
11
                public void set_connectable (GLib.SocketConnectable connectable);
12
12
                public GLib.MainContext ref_main_context ();
13
 
                public bool authenticate_sync (E.SourceAuthenticator auth, GLib.Cancellable? cancellable = null) throws GLib.Error;
14
 
                public void authenticate (E.SourceAuthenticator auth, GLib.Cancellable? cancellable = null);
15
13
                //public ETrustPromptResponse trust_prompt_sync (E.NamedParameters parameters, GLib.Cancellable? cancellable = null) throws Error;
16
14
                public void trust_prompt (E.NamedParameters parameters, GLib.Cancellable? cancellable = null) throws GLib.Error;
17
 
                public bool get_destination_address (out string host, out uint16 port);
18
15
                public bool is_destination_reachable (GLib.Cancellable? cancellable = null) throws GLib.Error;
 
16
                public abstract E.SourceAuthenticationResult authenticate_sync (E.NamedParameters credentials, out string certificate_pem, out GLib.TlsCertificateFlags certificate_errors, GLib.Cancellable? cancellable = null) throws GLib.Error;
 
17
                public virtual bool get_destination_address (out string host, out uint16 port);
 
18
                public virtual void prepare_shutdown ();
19
19
                [NoAccessorMethod]
20
20
                public GLib.SocketConnectable connectable { get; set; }
21
21
                [NoAccessorMethod]
91
91
                NORMAL,
92
92
                RELOAD
93
93
        }
94
 
        [CCode (cheader_filename = "libebackend/libebackend.h", type_id = "e_extension_get_type ()")]
95
 
        public abstract class Extension : GLib.Object {
96
 
                [CCode (has_construct_function = false)]
97
 
                private Extension ();
98
 
                public unowned E.Extensible get_extensible ();
99
 
                public class GLib.Type extensible_type;
100
 
        }
101
 
        [CCode (cheader_filename = "libebackend/libebackend.h", type_id = "e_extensible_get_type ()")]
102
 
        public interface Extensible : GLib.Object {
103
 
                public abstract void load_extensions ();
104
 
                public abstract GLib.List<E.Extension> list_extensions (GLib.Type extension_type);
105
 
                public signal void bus_acquired (GLib.DBusConnection connection);
106
 
        }
107
94
        [CCode (cheader_filename = "libebackend/libebackend.h", type_id = "e_file_cache_get_type ()")]
108
95
        public class FileCache : GLib.Object {
109
96
                public FileCache (string filename);
121
108
                [NoAccessorMethod]
122
109
                public string filename { get; construct; }
123
110
        }
124
 
        [CCode (cheader_filename = "libebackend/libebackend.h", type_id = "e_module_get_type ()")]
125
 
        public class Module : GLib.TypeModule, GLib.TypePlugin {
126
 
                [CCode (has_construct_function = false)]
127
 
                public Module ();
128
 
                public string get_filename ();
129
 
                public static GLib.List<E.Module> load_all_in_directory ();
130
 
                [NoAccessorMethod]
131
 
                public string filename { get; construct; }
132
 
        }
133
111
        [CCode (cheader_filename = "libebackend/libebackend.h", type_cname = "EOAuth2SupportInterface", type_id = "e_oauth2_support_get_type ()")]
134
112
        public interface OAuth2Support : GLib.Object {
135
113
                public abstract bool get_access_token_sync (E.Source source, GLib.Cancellable? cancellable, out string? access_token, out int expires_in) throws GLib.Error;
136
114
                public abstract async bool get_access_token (E.Source source, GLib.Cancellable? cancellable, out string? access_token, out int expires_in) throws GLib.Error;
137
115
        }
138
 
        [CCode (cheader_filename = "libebackend/libebackend.h", type_id = "e_soup_auth_bearer_get_type ()")]
139
 
        public class SoupAuthBearer : Soup.Auth {
140
 
                [CCode (has_construct_function = false)]
141
 
                public SoupAuthBearer ();
142
 
                public void set_access_token (string access_token, int expires_in_seconds);
143
 
        }
144
116
        [CCode (cheader_filename = "libebackend/libebackend.h", cprefix = "E_SOURCE_PERMISSION_", type_id = "e_source_permission_flags_get_type ()")]
145
117
        [Flags]
146
118
        public enum SourcePermissionFlags {