Update package group and some updated autogenerated files
[profile/ivi/libgsignon-glib.git] / libgsignon-glib / sso-auth-session-gen.h
1 /*
2  * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
3  *
4  * The license of this code is the same as for the source it was derived from.
5  */
6
7 #ifndef __SSO_AUTH_SESSION_GEN_H__
8 #define __SSO_AUTH_SESSION_GEN_H__
9
10 #include <gio/gio.h>
11
12 G_BEGIN_DECLS
13
14
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthSession */
17
18 #define TYPE_SSO_AUTH_SESSION (sso_auth_session_get_type ())
19 #define SSO_AUTH_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SESSION, SsoAuthSession))
20 #define IS_SSO_AUTH_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SESSION))
21 #define SSO_AUTH_SESSION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SSO_AUTH_SESSION, SsoAuthSessionIface))
22
23 struct _SsoAuthSession;
24 typedef struct _SsoAuthSession SsoAuthSession;
25 typedef struct _SsoAuthSessionIface SsoAuthSessionIface;
26
27 struct _SsoAuthSessionIface
28 {
29   GTypeInterface parent_iface;
30
31
32   gboolean (*handle_cancel) (
33     SsoAuthSession *object,
34     GDBusMethodInvocation *invocation);
35
36   gboolean (*handle_process) (
37     SsoAuthSession *object,
38     GDBusMethodInvocation *invocation,
39     GVariant *arg_sessionDataVa,
40     const gchar *arg_mechanism);
41
42   gboolean (*handle_query_available_mechanisms) (
43     SsoAuthSession *object,
44     GDBusMethodInvocation *invocation,
45     const gchar *const *arg_wantedMechanisms);
46
47   void (*state_changed) (
48     SsoAuthSession *object,
49     gint arg_state,
50     const gchar *arg_message);
51
52   void (*unregistered) (
53     SsoAuthSession *object);
54
55 };
56
57 GType sso_auth_session_get_type (void) G_GNUC_CONST;
58
59 GDBusInterfaceInfo *sso_auth_session_interface_info (void);
60 guint sso_auth_session_override_properties (GObjectClass *klass, guint property_id_begin);
61
62
63 /* D-Bus method call completion functions: */
64 void sso_auth_session_complete_query_available_mechanisms (
65     SsoAuthSession *object,
66     GDBusMethodInvocation *invocation,
67     const gchar *const *unnamed_arg1);
68
69 void sso_auth_session_complete_process (
70     SsoAuthSession *object,
71     GDBusMethodInvocation *invocation,
72     GVariant *unnamed_arg2);
73
74 void sso_auth_session_complete_cancel (
75     SsoAuthSession *object,
76     GDBusMethodInvocation *invocation);
77
78
79
80 /* D-Bus signal emissions functions: */
81 void sso_auth_session_emit_state_changed (
82     SsoAuthSession *object,
83     gint arg_state,
84     const gchar *arg_message);
85
86 void sso_auth_session_emit_unregistered (
87     SsoAuthSession *object);
88
89
90
91 /* D-Bus method calls: */
92 void sso_auth_session_call_query_available_mechanisms (
93     SsoAuthSession *proxy,
94     const gchar *const *arg_wantedMechanisms,
95     GCancellable *cancellable,
96     GAsyncReadyCallback callback,
97     gpointer user_data);
98
99 gboolean sso_auth_session_call_query_available_mechanisms_finish (
100     SsoAuthSession *proxy,
101     gchar ***out_unnamed_arg1,
102     GAsyncResult *res,
103     GError **error);
104
105 gboolean sso_auth_session_call_query_available_mechanisms_sync (
106     SsoAuthSession *proxy,
107     const gchar *const *arg_wantedMechanisms,
108     gchar ***out_unnamed_arg1,
109     GCancellable *cancellable,
110     GError **error);
111
112 void sso_auth_session_call_process (
113     SsoAuthSession *proxy,
114     GVariant *arg_sessionDataVa,
115     const gchar *arg_mechanism,
116     GCancellable *cancellable,
117     GAsyncReadyCallback callback,
118     gpointer user_data);
119
120 gboolean sso_auth_session_call_process_finish (
121     SsoAuthSession *proxy,
122     GVariant **out_unnamed_arg2,
123     GAsyncResult *res,
124     GError **error);
125
126 gboolean sso_auth_session_call_process_sync (
127     SsoAuthSession *proxy,
128     GVariant *arg_sessionDataVa,
129     const gchar *arg_mechanism,
130     GVariant **out_unnamed_arg2,
131     GCancellable *cancellable,
132     GError **error);
133
134 void sso_auth_session_call_cancel (
135     SsoAuthSession *proxy,
136     GCancellable *cancellable,
137     GAsyncReadyCallback callback,
138     gpointer user_data);
139
140 gboolean sso_auth_session_call_cancel_finish (
141     SsoAuthSession *proxy,
142     GAsyncResult *res,
143     GError **error);
144
145 gboolean sso_auth_session_call_cancel_sync (
146     SsoAuthSession *proxy,
147     GCancellable *cancellable,
148     GError **error);
149
150
151
152 /* ---- */
153
154 #define TYPE_SSO_AUTH_SESSION_PROXY (sso_auth_session_proxy_get_type ())
155 #define SSO_AUTH_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SESSION_PROXY, SsoAuthSessionProxy))
156 #define SSO_AUTH_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_AUTH_SESSION_PROXY, SsoAuthSessionProxyClass))
157 #define SSO_AUTH_SESSION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_AUTH_SESSION_PROXY, SsoAuthSessionProxyClass))
158 #define IS_SSO_AUTH_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SESSION_PROXY))
159 #define IS_SSO_AUTH_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_AUTH_SESSION_PROXY))
160
161 typedef struct _SsoAuthSessionProxy SsoAuthSessionProxy;
162 typedef struct _SsoAuthSessionProxyClass SsoAuthSessionProxyClass;
163 typedef struct _SsoAuthSessionProxyPrivate SsoAuthSessionProxyPrivate;
164
165 struct _SsoAuthSessionProxy
166 {
167   /*< private >*/
168   GDBusProxy parent_instance;
169   SsoAuthSessionProxyPrivate *priv;
170 };
171
172 struct _SsoAuthSessionProxyClass
173 {
174   GDBusProxyClass parent_class;
175 };
176
177 GType sso_auth_session_proxy_get_type (void) G_GNUC_CONST;
178
179 void sso_auth_session_proxy_new (
180     GDBusConnection     *connection,
181     GDBusProxyFlags      flags,
182     const gchar         *name,
183     const gchar         *object_path,
184     GCancellable        *cancellable,
185     GAsyncReadyCallback  callback,
186     gpointer             user_data);
187 SsoAuthSession *sso_auth_session_proxy_new_finish (
188     GAsyncResult        *res,
189     GError             **error);
190 SsoAuthSession *sso_auth_session_proxy_new_sync (
191     GDBusConnection     *connection,
192     GDBusProxyFlags      flags,
193     const gchar         *name,
194     const gchar         *object_path,
195     GCancellable        *cancellable,
196     GError             **error);
197
198 void sso_auth_session_proxy_new_for_bus (
199     GBusType             bus_type,
200     GDBusProxyFlags      flags,
201     const gchar         *name,
202     const gchar         *object_path,
203     GCancellable        *cancellable,
204     GAsyncReadyCallback  callback,
205     gpointer             user_data);
206 SsoAuthSession *sso_auth_session_proxy_new_for_bus_finish (
207     GAsyncResult        *res,
208     GError             **error);
209 SsoAuthSession *sso_auth_session_proxy_new_for_bus_sync (
210     GBusType             bus_type,
211     GDBusProxyFlags      flags,
212     const gchar         *name,
213     const gchar         *object_path,
214     GCancellable        *cancellable,
215     GError             **error);
216
217
218 /* ---- */
219
220 #define TYPE_SSO_AUTH_SESSION_SKELETON (sso_auth_session_skeleton_get_type ())
221 #define SSO_AUTH_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SESSION_SKELETON, SsoAuthSessionSkeleton))
222 #define SSO_AUTH_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_AUTH_SESSION_SKELETON, SsoAuthSessionSkeletonClass))
223 #define SSO_AUTH_SESSION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_AUTH_SESSION_SKELETON, SsoAuthSessionSkeletonClass))
224 #define IS_SSO_AUTH_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SESSION_SKELETON))
225 #define IS_SSO_AUTH_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_AUTH_SESSION_SKELETON))
226
227 typedef struct _SsoAuthSessionSkeleton SsoAuthSessionSkeleton;
228 typedef struct _SsoAuthSessionSkeletonClass SsoAuthSessionSkeletonClass;
229 typedef struct _SsoAuthSessionSkeletonPrivate SsoAuthSessionSkeletonPrivate;
230
231 struct _SsoAuthSessionSkeleton
232 {
233   /*< private >*/
234   GDBusInterfaceSkeleton parent_instance;
235   SsoAuthSessionSkeletonPrivate *priv;
236 };
237
238 struct _SsoAuthSessionSkeletonClass
239 {
240   GDBusInterfaceSkeletonClass parent_class;
241 };
242
243 GType sso_auth_session_skeleton_get_type (void) G_GNUC_CONST;
244
245 SsoAuthSession *sso_auth_session_skeleton_new (void);
246
247
248 G_END_DECLS
249
250 #endif /* __SSO_AUTH_SESSION_GEN_H__ */