2 * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __SSO_AUTH_SESSION_GEN_H__
8 #define __SSO_AUTH_SESSION_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthSession */
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))
23 struct _SsoAuthSession;
24 typedef struct _SsoAuthSession SsoAuthSession;
25 typedef struct _SsoAuthSessionIface SsoAuthSessionIface;
27 struct _SsoAuthSessionIface
29 GTypeInterface parent_iface;
32 gboolean (*handle_cancel) (
33 SsoAuthSession *object,
34 GDBusMethodInvocation *invocation);
36 gboolean (*handle_process) (
37 SsoAuthSession *object,
38 GDBusMethodInvocation *invocation,
39 GVariant *arg_sessionDataVa,
40 const gchar *arg_mechanism);
42 gboolean (*handle_query_available_mechanisms) (
43 SsoAuthSession *object,
44 GDBusMethodInvocation *invocation,
45 const gchar *const *arg_wantedMechanisms);
47 void (*state_changed) (
48 SsoAuthSession *object,
50 const gchar *arg_message);
52 void (*unregistered) (
53 SsoAuthSession *object);
57 GType sso_auth_session_get_type (void) G_GNUC_CONST;
59 GDBusInterfaceInfo *sso_auth_session_interface_info (void);
60 guint sso_auth_session_override_properties (GObjectClass *klass, guint property_id_begin);
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);
69 void sso_auth_session_complete_process (
70 SsoAuthSession *object,
71 GDBusMethodInvocation *invocation,
72 GVariant *unnamed_arg2);
74 void sso_auth_session_complete_cancel (
75 SsoAuthSession *object,
76 GDBusMethodInvocation *invocation);
80 /* D-Bus signal emissions functions: */
81 void sso_auth_session_emit_state_changed (
82 SsoAuthSession *object,
84 const gchar *arg_message);
86 void sso_auth_session_emit_unregistered (
87 SsoAuthSession *object);
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,
99 gboolean sso_auth_session_call_query_available_mechanisms_finish (
100 SsoAuthSession *proxy,
101 gchar ***out_unnamed_arg1,
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,
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,
120 gboolean sso_auth_session_call_process_finish (
121 SsoAuthSession *proxy,
122 GVariant **out_unnamed_arg2,
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,
134 void sso_auth_session_call_cancel (
135 SsoAuthSession *proxy,
136 GCancellable *cancellable,
137 GAsyncReadyCallback callback,
140 gboolean sso_auth_session_call_cancel_finish (
141 SsoAuthSession *proxy,
145 gboolean sso_auth_session_call_cancel_sync (
146 SsoAuthSession *proxy,
147 GCancellable *cancellable,
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))
161 typedef struct _SsoAuthSessionProxy SsoAuthSessionProxy;
162 typedef struct _SsoAuthSessionProxyClass SsoAuthSessionProxyClass;
163 typedef struct _SsoAuthSessionProxyPrivate SsoAuthSessionProxyPrivate;
165 struct _SsoAuthSessionProxy
168 GDBusProxy parent_instance;
169 SsoAuthSessionProxyPrivate *priv;
172 struct _SsoAuthSessionProxyClass
174 GDBusProxyClass parent_class;
177 GType sso_auth_session_proxy_get_type (void) G_GNUC_CONST;
179 void sso_auth_session_proxy_new (
180 GDBusConnection *connection,
181 GDBusProxyFlags flags,
183 const gchar *object_path,
184 GCancellable *cancellable,
185 GAsyncReadyCallback callback,
187 SsoAuthSession *sso_auth_session_proxy_new_finish (
190 SsoAuthSession *sso_auth_session_proxy_new_sync (
191 GDBusConnection *connection,
192 GDBusProxyFlags flags,
194 const gchar *object_path,
195 GCancellable *cancellable,
198 void sso_auth_session_proxy_new_for_bus (
200 GDBusProxyFlags flags,
202 const gchar *object_path,
203 GCancellable *cancellable,
204 GAsyncReadyCallback callback,
206 SsoAuthSession *sso_auth_session_proxy_new_for_bus_finish (
209 SsoAuthSession *sso_auth_session_proxy_new_for_bus_sync (
211 GDBusProxyFlags flags,
213 const gchar *object_path,
214 GCancellable *cancellable,
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))
227 typedef struct _SsoAuthSessionSkeleton SsoAuthSessionSkeleton;
228 typedef struct _SsoAuthSessionSkeletonClass SsoAuthSessionSkeletonClass;
229 typedef struct _SsoAuthSessionSkeletonPrivate SsoAuthSessionSkeletonPrivate;
231 struct _SsoAuthSessionSkeleton
234 GDBusInterfaceSkeleton parent_instance;
235 SsoAuthSessionSkeletonPrivate *priv;
238 struct _SsoAuthSessionSkeletonClass
240 GDBusInterfaceSkeletonClass parent_class;
243 GType sso_auth_session_skeleton_get_type (void) G_GNUC_CONST;
245 SsoAuthSession *sso_auth_session_skeleton_new (void);
250 #endif /* __SSO_AUTH_SESSION_GEN_H__ */