Back to index

indicator-session  12.10.0
dbus-consolekit-session.h
Go to the documentation of this file.
00001 /*
00002  * Generated by gdbus-codegen 2.33.3. DO NOT EDIT.
00003  *
00004  * The license of this code is the same as for the source it was derived from.
00005  */
00006 
00007 #ifndef __DBUS_CONSOLEKIT_SESSION_H__
00008 #define __DBUS_CONSOLEKIT_SESSION_H__
00009 
00010 #include <gio/gio.h>
00011 
00012 G_BEGIN_DECLS
00013 
00014 
00015 /* ------------------------------------------------------------------------ */
00016 /* Declarations for org.freedesktop.ConsoleKit.Session */
00017 
00018 #define TYPE_CONSOLE_KIT_SESSION (console_kit_session_get_type ())
00019 #define CONSOLE_KIT_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSession))
00020 #define IS_CONSOLE_KIT_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION))
00021 #define CONSOLE_KIT_SESSION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSessionIface))
00022 
00023 struct _ConsoleKitSession;
00024 typedef struct _ConsoleKitSession ConsoleKitSession;
00025 typedef struct _ConsoleKitSessionIface ConsoleKitSessionIface;
00026 
00027 struct _ConsoleKitSessionIface
00028 {
00029   GTypeInterface parent_iface;
00030 
00031 
00032 
00033   gboolean (*handle_activate) (
00034     ConsoleKitSession *object,
00035     GDBusMethodInvocation *invocation);
00036 
00037   gboolean (*handle_get_creation_time) (
00038     ConsoleKitSession *object,
00039     GDBusMethodInvocation *invocation);
00040 
00041   gboolean (*handle_get_display_device) (
00042     ConsoleKitSession *object,
00043     GDBusMethodInvocation *invocation);
00044 
00045   gboolean (*handle_get_id) (
00046     ConsoleKitSession *object,
00047     GDBusMethodInvocation *invocation);
00048 
00049   gboolean (*handle_get_idle_hint) (
00050     ConsoleKitSession *object,
00051     GDBusMethodInvocation *invocation);
00052 
00053   gboolean (*handle_get_idle_since_hint) (
00054     ConsoleKitSession *object,
00055     GDBusMethodInvocation *invocation);
00056 
00057   gboolean (*handle_get_login_session_id) (
00058     ConsoleKitSession *object,
00059     GDBusMethodInvocation *invocation);
00060 
00061   gboolean (*handle_get_remote_host_name) (
00062     ConsoleKitSession *object,
00063     GDBusMethodInvocation *invocation);
00064 
00065   gboolean (*handle_get_seat_id) (
00066     ConsoleKitSession *object,
00067     GDBusMethodInvocation *invocation);
00068 
00069   gboolean (*handle_get_session_type) (
00070     ConsoleKitSession *object,
00071     GDBusMethodInvocation *invocation);
00072 
00073   gboolean (*handle_get_unix_user) (
00074     ConsoleKitSession *object,
00075     GDBusMethodInvocation *invocation);
00076 
00077   gboolean (*handle_get_user) (
00078     ConsoleKitSession *object,
00079     GDBusMethodInvocation *invocation);
00080 
00081   gboolean (*handle_get_x11_display) (
00082     ConsoleKitSession *object,
00083     GDBusMethodInvocation *invocation);
00084 
00085   gboolean (*handle_get_x11_display_device) (
00086     ConsoleKitSession *object,
00087     GDBusMethodInvocation *invocation);
00088 
00089   gboolean (*handle_is_active) (
00090     ConsoleKitSession *object,
00091     GDBusMethodInvocation *invocation);
00092 
00093   gboolean (*handle_is_local) (
00094     ConsoleKitSession *object,
00095     GDBusMethodInvocation *invocation);
00096 
00097   gboolean (*handle_lock) (
00098     ConsoleKitSession *object,
00099     GDBusMethodInvocation *invocation);
00100 
00101   gboolean (*handle_set_idle_hint) (
00102     ConsoleKitSession *object,
00103     GDBusMethodInvocation *invocation,
00104     gboolean arg_idle_hint);
00105 
00106   gboolean (*handle_unlock) (
00107     ConsoleKitSession *object,
00108     GDBusMethodInvocation *invocation);
00109 
00110   gboolean  (*get_active) (ConsoleKitSession *object);
00111 
00112   const gchar * (*get_display_device) (ConsoleKitSession *object);
00113 
00114   gboolean  (*get_idle_hint) (ConsoleKitSession *object);
00115 
00116   gboolean  (*get_is_local) (ConsoleKitSession *object);
00117 
00118   const gchar * (*get_remote_host_name) (ConsoleKitSession *object);
00119 
00120   const gchar * (*get_session_type) (ConsoleKitSession *object);
00121 
00122   guint  (*get_unix_user) (ConsoleKitSession *object);
00123 
00124   guint  (*get_user) (ConsoleKitSession *object);
00125 
00126   const gchar * (*get_x11_display) (ConsoleKitSession *object);
00127 
00128   const gchar * (*get_x11_display_device) (ConsoleKitSession *object);
00129 
00130   void (*active_changed) (
00131     ConsoleKitSession *object,
00132     gboolean arg_is_active);
00133 
00134   void (*idle_hint_changed) (
00135     ConsoleKitSession *object,
00136     gboolean arg_hint);
00137 
00138   void (*lock) (
00139     ConsoleKitSession *object);
00140 
00141   void (*unlock) (
00142     ConsoleKitSession *object);
00143 
00144 };
00145 
00146 GType console_kit_session_get_type (void) G_GNUC_CONST;
00147 
00148 GDBusInterfaceInfo *console_kit_session_interface_info (void);
00149 guint console_kit_session_override_properties (GObjectClass *klass, guint property_id_begin);
00150 
00151 
00152 /* D-Bus method call completion functions: */
00153 void console_kit_session_complete_get_id (
00154     ConsoleKitSession *object,
00155     GDBusMethodInvocation *invocation,
00156     const gchar *ssid);
00157 
00158 void console_kit_session_complete_get_seat_id (
00159     ConsoleKitSession *object,
00160     GDBusMethodInvocation *invocation,
00161     const gchar *sid);
00162 
00163 void console_kit_session_complete_get_session_type (
00164     ConsoleKitSession *object,
00165     GDBusMethodInvocation *invocation,
00166     const gchar *type);
00167 
00168 void console_kit_session_complete_get_user (
00169     ConsoleKitSession *object,
00170     GDBusMethodInvocation *invocation,
00171     guint uid);
00172 
00173 void console_kit_session_complete_get_unix_user (
00174     ConsoleKitSession *object,
00175     GDBusMethodInvocation *invocation,
00176     guint uid);
00177 
00178 void console_kit_session_complete_get_x11_display (
00179     ConsoleKitSession *object,
00180     GDBusMethodInvocation *invocation,
00181     const gchar *display);
00182 
00183 void console_kit_session_complete_get_x11_display_device (
00184     ConsoleKitSession *object,
00185     GDBusMethodInvocation *invocation,
00186     const gchar *x11_display_device);
00187 
00188 void console_kit_session_complete_get_display_device (
00189     ConsoleKitSession *object,
00190     GDBusMethodInvocation *invocation,
00191     const gchar *display_device);
00192 
00193 void console_kit_session_complete_get_remote_host_name (
00194     ConsoleKitSession *object,
00195     GDBusMethodInvocation *invocation,
00196     const gchar *remote_host_name);
00197 
00198 void console_kit_session_complete_get_login_session_id (
00199     ConsoleKitSession *object,
00200     GDBusMethodInvocation *invocation,
00201     const gchar *login_session_id);
00202 
00203 void console_kit_session_complete_is_active (
00204     ConsoleKitSession *object,
00205     GDBusMethodInvocation *invocation,
00206     gboolean active);
00207 
00208 void console_kit_session_complete_is_local (
00209     ConsoleKitSession *object,
00210     GDBusMethodInvocation *invocation,
00211     gboolean local);
00212 
00213 void console_kit_session_complete_get_creation_time (
00214     ConsoleKitSession *object,
00215     GDBusMethodInvocation *invocation,
00216     const gchar *iso8601_datetime);
00217 
00218 void console_kit_session_complete_activate (
00219     ConsoleKitSession *object,
00220     GDBusMethodInvocation *invocation);
00221 
00222 void console_kit_session_complete_lock (
00223     ConsoleKitSession *object,
00224     GDBusMethodInvocation *invocation);
00225 
00226 void console_kit_session_complete_unlock (
00227     ConsoleKitSession *object,
00228     GDBusMethodInvocation *invocation);
00229 
00230 void console_kit_session_complete_get_idle_hint (
00231     ConsoleKitSession *object,
00232     GDBusMethodInvocation *invocation,
00233     gboolean idle_hint);
00234 
00235 void console_kit_session_complete_get_idle_since_hint (
00236     ConsoleKitSession *object,
00237     GDBusMethodInvocation *invocation,
00238     const gchar *iso8601_datetime);
00239 
00240 void console_kit_session_complete_set_idle_hint (
00241     ConsoleKitSession *object,
00242     GDBusMethodInvocation *invocation);
00243 
00244 
00245 
00246 /* D-Bus signal emissions functions: */
00247 void console_kit_session_emit_active_changed (
00248     ConsoleKitSession *object,
00249     gboolean arg_is_active);
00250 
00251 void console_kit_session_emit_idle_hint_changed (
00252     ConsoleKitSession *object,
00253     gboolean arg_hint);
00254 
00255 void console_kit_session_emit_lock (
00256     ConsoleKitSession *object);
00257 
00258 void console_kit_session_emit_unlock (
00259     ConsoleKitSession *object);
00260 
00261 
00262 
00263 /* D-Bus method calls: */
00264 void console_kit_session_call_get_id (
00265     ConsoleKitSession *proxy,
00266     GCancellable *cancellable,
00267     GAsyncReadyCallback callback,
00268     gpointer user_data);
00269 
00270 gboolean console_kit_session_call_get_id_finish (
00271     ConsoleKitSession *proxy,
00272     gchar **out_ssid,
00273     GAsyncResult *res,
00274     GError **error);
00275 
00276 gboolean console_kit_session_call_get_id_sync (
00277     ConsoleKitSession *proxy,
00278     gchar **out_ssid,
00279     GCancellable *cancellable,
00280     GError **error);
00281 
00282 void console_kit_session_call_get_seat_id (
00283     ConsoleKitSession *proxy,
00284     GCancellable *cancellable,
00285     GAsyncReadyCallback callback,
00286     gpointer user_data);
00287 
00288 gboolean console_kit_session_call_get_seat_id_finish (
00289     ConsoleKitSession *proxy,
00290     gchar **out_sid,
00291     GAsyncResult *res,
00292     GError **error);
00293 
00294 gboolean console_kit_session_call_get_seat_id_sync (
00295     ConsoleKitSession *proxy,
00296     gchar **out_sid,
00297     GCancellable *cancellable,
00298     GError **error);
00299 
00300 void console_kit_session_call_get_session_type (
00301     ConsoleKitSession *proxy,
00302     GCancellable *cancellable,
00303     GAsyncReadyCallback callback,
00304     gpointer user_data);
00305 
00306 gboolean console_kit_session_call_get_session_type_finish (
00307     ConsoleKitSession *proxy,
00308     gchar **out_type,
00309     GAsyncResult *res,
00310     GError **error);
00311 
00312 gboolean console_kit_session_call_get_session_type_sync (
00313     ConsoleKitSession *proxy,
00314     gchar **out_type,
00315     GCancellable *cancellable,
00316     GError **error);
00317 
00318 void console_kit_session_call_get_user (
00319     ConsoleKitSession *proxy,
00320     GCancellable *cancellable,
00321     GAsyncReadyCallback callback,
00322     gpointer user_data);
00323 
00324 gboolean console_kit_session_call_get_user_finish (
00325     ConsoleKitSession *proxy,
00326     guint *out_uid,
00327     GAsyncResult *res,
00328     GError **error);
00329 
00330 gboolean console_kit_session_call_get_user_sync (
00331     ConsoleKitSession *proxy,
00332     guint *out_uid,
00333     GCancellable *cancellable,
00334     GError **error);
00335 
00336 void console_kit_session_call_get_unix_user (
00337     ConsoleKitSession *proxy,
00338     GCancellable *cancellable,
00339     GAsyncReadyCallback callback,
00340     gpointer user_data);
00341 
00342 gboolean console_kit_session_call_get_unix_user_finish (
00343     ConsoleKitSession *proxy,
00344     guint *out_uid,
00345     GAsyncResult *res,
00346     GError **error);
00347 
00348 gboolean console_kit_session_call_get_unix_user_sync (
00349     ConsoleKitSession *proxy,
00350     guint *out_uid,
00351     GCancellable *cancellable,
00352     GError **error);
00353 
00354 void console_kit_session_call_get_x11_display (
00355     ConsoleKitSession *proxy,
00356     GCancellable *cancellable,
00357     GAsyncReadyCallback callback,
00358     gpointer user_data);
00359 
00360 gboolean console_kit_session_call_get_x11_display_finish (
00361     ConsoleKitSession *proxy,
00362     gchar **out_display,
00363     GAsyncResult *res,
00364     GError **error);
00365 
00366 gboolean console_kit_session_call_get_x11_display_sync (
00367     ConsoleKitSession *proxy,
00368     gchar **out_display,
00369     GCancellable *cancellable,
00370     GError **error);
00371 
00372 void console_kit_session_call_get_x11_display_device (
00373     ConsoleKitSession *proxy,
00374     GCancellable *cancellable,
00375     GAsyncReadyCallback callback,
00376     gpointer user_data);
00377 
00378 gboolean console_kit_session_call_get_x11_display_device_finish (
00379     ConsoleKitSession *proxy,
00380     gchar **out_x11_display_device,
00381     GAsyncResult *res,
00382     GError **error);
00383 
00384 gboolean console_kit_session_call_get_x11_display_device_sync (
00385     ConsoleKitSession *proxy,
00386     gchar **out_x11_display_device,
00387     GCancellable *cancellable,
00388     GError **error);
00389 
00390 void console_kit_session_call_get_display_device (
00391     ConsoleKitSession *proxy,
00392     GCancellable *cancellable,
00393     GAsyncReadyCallback callback,
00394     gpointer user_data);
00395 
00396 gboolean console_kit_session_call_get_display_device_finish (
00397     ConsoleKitSession *proxy,
00398     gchar **out_display_device,
00399     GAsyncResult *res,
00400     GError **error);
00401 
00402 gboolean console_kit_session_call_get_display_device_sync (
00403     ConsoleKitSession *proxy,
00404     gchar **out_display_device,
00405     GCancellable *cancellable,
00406     GError **error);
00407 
00408 void console_kit_session_call_get_remote_host_name (
00409     ConsoleKitSession *proxy,
00410     GCancellable *cancellable,
00411     GAsyncReadyCallback callback,
00412     gpointer user_data);
00413 
00414 gboolean console_kit_session_call_get_remote_host_name_finish (
00415     ConsoleKitSession *proxy,
00416     gchar **out_remote_host_name,
00417     GAsyncResult *res,
00418     GError **error);
00419 
00420 gboolean console_kit_session_call_get_remote_host_name_sync (
00421     ConsoleKitSession *proxy,
00422     gchar **out_remote_host_name,
00423     GCancellable *cancellable,
00424     GError **error);
00425 
00426 void console_kit_session_call_get_login_session_id (
00427     ConsoleKitSession *proxy,
00428     GCancellable *cancellable,
00429     GAsyncReadyCallback callback,
00430     gpointer user_data);
00431 
00432 gboolean console_kit_session_call_get_login_session_id_finish (
00433     ConsoleKitSession *proxy,
00434     gchar **out_login_session_id,
00435     GAsyncResult *res,
00436     GError **error);
00437 
00438 gboolean console_kit_session_call_get_login_session_id_sync (
00439     ConsoleKitSession *proxy,
00440     gchar **out_login_session_id,
00441     GCancellable *cancellable,
00442     GError **error);
00443 
00444 void console_kit_session_call_is_active (
00445     ConsoleKitSession *proxy,
00446     GCancellable *cancellable,
00447     GAsyncReadyCallback callback,
00448     gpointer user_data);
00449 
00450 gboolean console_kit_session_call_is_active_finish (
00451     ConsoleKitSession *proxy,
00452     gboolean *out_active,
00453     GAsyncResult *res,
00454     GError **error);
00455 
00456 gboolean console_kit_session_call_is_active_sync (
00457     ConsoleKitSession *proxy,
00458     gboolean *out_active,
00459     GCancellable *cancellable,
00460     GError **error);
00461 
00462 void console_kit_session_call_is_local (
00463     ConsoleKitSession *proxy,
00464     GCancellable *cancellable,
00465     GAsyncReadyCallback callback,
00466     gpointer user_data);
00467 
00468 gboolean console_kit_session_call_is_local_finish (
00469     ConsoleKitSession *proxy,
00470     gboolean *out_local,
00471     GAsyncResult *res,
00472     GError **error);
00473 
00474 gboolean console_kit_session_call_is_local_sync (
00475     ConsoleKitSession *proxy,
00476     gboolean *out_local,
00477     GCancellable *cancellable,
00478     GError **error);
00479 
00480 void console_kit_session_call_get_creation_time (
00481     ConsoleKitSession *proxy,
00482     GCancellable *cancellable,
00483     GAsyncReadyCallback callback,
00484     gpointer user_data);
00485 
00486 gboolean console_kit_session_call_get_creation_time_finish (
00487     ConsoleKitSession *proxy,
00488     gchar **out_iso8601_datetime,
00489     GAsyncResult *res,
00490     GError **error);
00491 
00492 gboolean console_kit_session_call_get_creation_time_sync (
00493     ConsoleKitSession *proxy,
00494     gchar **out_iso8601_datetime,
00495     GCancellable *cancellable,
00496     GError **error);
00497 
00498 void console_kit_session_call_activate (
00499     ConsoleKitSession *proxy,
00500     GCancellable *cancellable,
00501     GAsyncReadyCallback callback,
00502     gpointer user_data);
00503 
00504 gboolean console_kit_session_call_activate_finish (
00505     ConsoleKitSession *proxy,
00506     GAsyncResult *res,
00507     GError **error);
00508 
00509 gboolean console_kit_session_call_activate_sync (
00510     ConsoleKitSession *proxy,
00511     GCancellable *cancellable,
00512     GError **error);
00513 
00514 void console_kit_session_call_lock (
00515     ConsoleKitSession *proxy,
00516     GCancellable *cancellable,
00517     GAsyncReadyCallback callback,
00518     gpointer user_data);
00519 
00520 gboolean console_kit_session_call_lock_finish (
00521     ConsoleKitSession *proxy,
00522     GAsyncResult *res,
00523     GError **error);
00524 
00525 gboolean console_kit_session_call_lock_sync (
00526     ConsoleKitSession *proxy,
00527     GCancellable *cancellable,
00528     GError **error);
00529 
00530 void console_kit_session_call_unlock (
00531     ConsoleKitSession *proxy,
00532     GCancellable *cancellable,
00533     GAsyncReadyCallback callback,
00534     gpointer user_data);
00535 
00536 gboolean console_kit_session_call_unlock_finish (
00537     ConsoleKitSession *proxy,
00538     GAsyncResult *res,
00539     GError **error);
00540 
00541 gboolean console_kit_session_call_unlock_sync (
00542     ConsoleKitSession *proxy,
00543     GCancellable *cancellable,
00544     GError **error);
00545 
00546 void console_kit_session_call_get_idle_hint (
00547     ConsoleKitSession *proxy,
00548     GCancellable *cancellable,
00549     GAsyncReadyCallback callback,
00550     gpointer user_data);
00551 
00552 gboolean console_kit_session_call_get_idle_hint_finish (
00553     ConsoleKitSession *proxy,
00554     gboolean *out_idle_hint,
00555     GAsyncResult *res,
00556     GError **error);
00557 
00558 gboolean console_kit_session_call_get_idle_hint_sync (
00559     ConsoleKitSession *proxy,
00560     gboolean *out_idle_hint,
00561     GCancellable *cancellable,
00562     GError **error);
00563 
00564 void console_kit_session_call_get_idle_since_hint (
00565     ConsoleKitSession *proxy,
00566     GCancellable *cancellable,
00567     GAsyncReadyCallback callback,
00568     gpointer user_data);
00569 
00570 gboolean console_kit_session_call_get_idle_since_hint_finish (
00571     ConsoleKitSession *proxy,
00572     gchar **out_iso8601_datetime,
00573     GAsyncResult *res,
00574     GError **error);
00575 
00576 gboolean console_kit_session_call_get_idle_since_hint_sync (
00577     ConsoleKitSession *proxy,
00578     gchar **out_iso8601_datetime,
00579     GCancellable *cancellable,
00580     GError **error);
00581 
00582 void console_kit_session_call_set_idle_hint (
00583     ConsoleKitSession *proxy,
00584     gboolean arg_idle_hint,
00585     GCancellable *cancellable,
00586     GAsyncReadyCallback callback,
00587     gpointer user_data);
00588 
00589 gboolean console_kit_session_call_set_idle_hint_finish (
00590     ConsoleKitSession *proxy,
00591     GAsyncResult *res,
00592     GError **error);
00593 
00594 gboolean console_kit_session_call_set_idle_hint_sync (
00595     ConsoleKitSession *proxy,
00596     gboolean arg_idle_hint,
00597     GCancellable *cancellable,
00598     GError **error);
00599 
00600 
00601 
00602 /* D-Bus property accessors: */
00603 guint console_kit_session_get_unix_user (ConsoleKitSession *object);
00604 void console_kit_session_set_unix_user (ConsoleKitSession *object, guint value);
00605 
00606 guint console_kit_session_get_user (ConsoleKitSession *object);
00607 void console_kit_session_set_user (ConsoleKitSession *object, guint value);
00608 
00609 const gchar *console_kit_session_get_session_type (ConsoleKitSession *object);
00610 gchar *console_kit_session_dup_session_type (ConsoleKitSession *object);
00611 void console_kit_session_set_session_type (ConsoleKitSession *object, const gchar *value);
00612 
00613 const gchar *console_kit_session_get_remote_host_name (ConsoleKitSession *object);
00614 gchar *console_kit_session_dup_remote_host_name (ConsoleKitSession *object);
00615 void console_kit_session_set_remote_host_name (ConsoleKitSession *object, const gchar *value);
00616 
00617 const gchar *console_kit_session_get_display_device (ConsoleKitSession *object);
00618 gchar *console_kit_session_dup_display_device (ConsoleKitSession *object);
00619 void console_kit_session_set_display_device (ConsoleKitSession *object, const gchar *value);
00620 
00621 const gchar *console_kit_session_get_x11_display (ConsoleKitSession *object);
00622 gchar *console_kit_session_dup_x11_display (ConsoleKitSession *object);
00623 void console_kit_session_set_x11_display (ConsoleKitSession *object, const gchar *value);
00624 
00625 const gchar *console_kit_session_get_x11_display_device (ConsoleKitSession *object);
00626 gchar *console_kit_session_dup_x11_display_device (ConsoleKitSession *object);
00627 void console_kit_session_set_x11_display_device (ConsoleKitSession *object, const gchar *value);
00628 
00629 gboolean console_kit_session_get_active (ConsoleKitSession *object);
00630 void console_kit_session_set_active (ConsoleKitSession *object, gboolean value);
00631 
00632 gboolean console_kit_session_get_is_local (ConsoleKitSession *object);
00633 void console_kit_session_set_is_local (ConsoleKitSession *object, gboolean value);
00634 
00635 gboolean console_kit_session_get_idle_hint (ConsoleKitSession *object);
00636 void console_kit_session_set_idle_hint (ConsoleKitSession *object, gboolean value);
00637 
00638 
00639 /* ---- */
00640 
00641 #define TYPE_CONSOLE_KIT_SESSION_PROXY (console_kit_session_proxy_get_type ())
00642 #define CONSOLE_KIT_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxy))
00643 #define CONSOLE_KIT_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))
00644 #define CONSOLE_KIT_SESSION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))
00645 #define IS_CONSOLE_KIT_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_PROXY))
00646 #define IS_CONSOLE_KIT_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_PROXY))
00647 
00648 typedef struct _ConsoleKitSessionProxy ConsoleKitSessionProxy;
00649 typedef struct _ConsoleKitSessionProxyClass ConsoleKitSessionProxyClass;
00650 typedef struct _ConsoleKitSessionProxyPrivate ConsoleKitSessionProxyPrivate;
00651 
00652 struct _ConsoleKitSessionProxy
00653 {
00654   /*< private >*/
00655   GDBusProxy parent_instance;
00656   ConsoleKitSessionProxyPrivate *priv;
00657 };
00658 
00659 struct _ConsoleKitSessionProxyClass
00660 {
00661   GDBusProxyClass parent_class;
00662 };
00663 
00664 GType console_kit_session_proxy_get_type (void) G_GNUC_CONST;
00665 
00666 void console_kit_session_proxy_new (
00667     GDBusConnection     *connection,
00668     GDBusProxyFlags      flags,
00669     const gchar         *name,
00670     const gchar         *object_path,
00671     GCancellable        *cancellable,
00672     GAsyncReadyCallback  callback,
00673     gpointer             user_data);
00674 ConsoleKitSession *console_kit_session_proxy_new_finish (
00675     GAsyncResult        *res,
00676     GError             **error);
00677 ConsoleKitSession *console_kit_session_proxy_new_sync (
00678     GDBusConnection     *connection,
00679     GDBusProxyFlags      flags,
00680     const gchar         *name,
00681     const gchar         *object_path,
00682     GCancellable        *cancellable,
00683     GError             **error);
00684 
00685 void console_kit_session_proxy_new_for_bus (
00686     GBusType             bus_type,
00687     GDBusProxyFlags      flags,
00688     const gchar         *name,
00689     const gchar         *object_path,
00690     GCancellable        *cancellable,
00691     GAsyncReadyCallback  callback,
00692     gpointer             user_data);
00693 ConsoleKitSession *console_kit_session_proxy_new_for_bus_finish (
00694     GAsyncResult        *res,
00695     GError             **error);
00696 ConsoleKitSession *console_kit_session_proxy_new_for_bus_sync (
00697     GBusType             bus_type,
00698     GDBusProxyFlags      flags,
00699     const gchar         *name,
00700     const gchar         *object_path,
00701     GCancellable        *cancellable,
00702     GError             **error);
00703 
00704 
00705 /* ---- */
00706 
00707 #define TYPE_CONSOLE_KIT_SESSION_SKELETON (console_kit_session_skeleton_get_type ())
00708 #define CONSOLE_KIT_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeleton))
00709 #define CONSOLE_KIT_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))
00710 #define CONSOLE_KIT_SESSION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))
00711 #define IS_CONSOLE_KIT_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON))
00712 #define IS_CONSOLE_KIT_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON))
00713 
00714 typedef struct _ConsoleKitSessionSkeleton ConsoleKitSessionSkeleton;
00715 typedef struct _ConsoleKitSessionSkeletonClass ConsoleKitSessionSkeletonClass;
00716 typedef struct _ConsoleKitSessionSkeletonPrivate ConsoleKitSessionSkeletonPrivate;
00717 
00718 struct _ConsoleKitSessionSkeleton
00719 {
00720   /*< private >*/
00721   GDBusInterfaceSkeleton parent_instance;
00722   ConsoleKitSessionSkeletonPrivate *priv;
00723 };
00724 
00725 struct _ConsoleKitSessionSkeletonClass
00726 {
00727   GDBusInterfaceSkeletonClass parent_class;
00728 };
00729 
00730 GType console_kit_session_skeleton_get_type (void) G_GNUC_CONST;
00731 
00732 ConsoleKitSession *console_kit_session_skeleton_new (void);
00733 
00734 
00735 G_END_DECLS
00736 
00737 #endif /* __DBUS_CONSOLEKIT_SESSION_H__ */