| 1 | /* |
| 2 | * Generated by gdbus-codegen 2.40.0. 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 __TIMEDATED_GEN_H__ |
| 8 | #define __TIMEDATED_GEN_H__ |
| 9 | |
| 10 | #include <gio/gio.h> |
| 11 | |
| 12 | G_BEGIN_DECLS |
| 13 | |
| 14 | |
| 15 | /* ------------------------------------------------------------------------ */ |
| 16 | /* Declarations for org.freedesktop.timedate1 */ |
| 17 | |
| 18 | #define TIMEDATED_TYPE_ (timedated__get_type ()) |
| 19 | #define TIMEDATED_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_, Timedated)) |
| 20 | #define TIMEDATED_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_)) |
| 21 | #define TIMEDATED__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TIMEDATED_TYPE_, TimedatedIface)) |
| 22 | |
| 23 | struct _Timedated; |
| 24 | typedef struct _Timedated Timedated; |
| 25 | typedef struct _TimedatedIface TimedatedIface; |
| 26 | |
| 27 | struct _TimedatedIface |
| 28 | { |
| 29 | GTypeInterface parent_iface; |
| 30 | |
| 31 | |
| 32 | gboolean (*handle_set_local_rtc) ( |
| 33 | Timedated *object, |
| 34 | GDBusMethodInvocation *invocation, |
| 35 | gboolean arg_local_rtc, |
| 36 | gboolean arg_fix_system, |
| 37 | gboolean arg_user_interaction); |
| 38 | |
| 39 | gboolean (*handle_set_ntp) ( |
| 40 | Timedated *object, |
| 41 | GDBusMethodInvocation *invocation, |
| 42 | gboolean arg_use_ntp, |
| 43 | gboolean arg_user_interaction); |
| 44 | |
| 45 | gboolean (*handle_set_time) ( |
| 46 | Timedated *object, |
| 47 | GDBusMethodInvocation *invocation, |
| 48 | gint64 arg_usec_utc, |
| 49 | gboolean arg_relative, |
| 50 | gboolean arg_user_interaction); |
| 51 | |
| 52 | gboolean (*handle_set_timezone) ( |
| 53 | Timedated *object, |
| 54 | GDBusMethodInvocation *invocation, |
| 55 | const gchar *arg_timezone, |
| 56 | gboolean arg_user_interaction); |
| 57 | |
| 58 | gboolean (*get_local_rtc) (Timedated *object); |
| 59 | |
| 60 | gboolean (*get_ntp) (Timedated *object); |
| 61 | |
| 62 | const gchar * (*get_timezone) (Timedated *object); |
| 63 | |
| 64 | }; |
| 65 | |
| 66 | GType timedated__get_type (void) G_GNUC_CONST; |
| 67 | |
| 68 | GDBusInterfaceInfo *timedated__interface_info (void); |
| 69 | guint timedated__override_properties (GObjectClass *klass, guint property_id_begin); |
| 70 | |
| 71 | |
| 72 | /* D-Bus method call completion functions: */ |
| 73 | void timedated__complete_set_time ( |
| 74 | Timedated *object, |
| 75 | GDBusMethodInvocation *invocation); |
| 76 | |
| 77 | void timedated__complete_set_timezone ( |
| 78 | Timedated *object, |
| 79 | GDBusMethodInvocation *invocation); |
| 80 | |
| 81 | void timedated__complete_set_local_rtc ( |
| 82 | Timedated *object, |
| 83 | GDBusMethodInvocation *invocation); |
| 84 | |
| 85 | void timedated__complete_set_ntp ( |
| 86 | Timedated *object, |
| 87 | GDBusMethodInvocation *invocation); |
| 88 | |
| 89 | |
| 90 | |
| 91 | /* D-Bus method calls: */ |
| 92 | void timedated__call_set_time ( |
| 93 | Timedated *proxy, |
| 94 | gint64 arg_usec_utc, |
| 95 | gboolean arg_relative, |
| 96 | gboolean arg_user_interaction, |
| 97 | GCancellable *cancellable, |
| 98 | GAsyncReadyCallback callback, |
| 99 | gpointer user_data); |
| 100 | |
| 101 | gboolean timedated__call_set_time_finish ( |
| 102 | Timedated *proxy, |
| 103 | GAsyncResult *res, |
| 104 | GError **error); |
| 105 | |
| 106 | gboolean timedated__call_set_time_sync ( |
| 107 | Timedated *proxy, |
| 108 | gint64 arg_usec_utc, |
| 109 | gboolean arg_relative, |
| 110 | gboolean arg_user_interaction, |
| 111 | GCancellable *cancellable, |
| 112 | GError **error); |
| 113 | |
| 114 | void timedated__call_set_timezone ( |
| 115 | Timedated *proxy, |
| 116 | const gchar *arg_timezone, |
| 117 | gboolean arg_user_interaction, |
| 118 | GCancellable *cancellable, |
| 119 | GAsyncReadyCallback callback, |
| 120 | gpointer user_data); |
| 121 | |
| 122 | gboolean timedated__call_set_timezone_finish ( |
| 123 | Timedated *proxy, |
| 124 | GAsyncResult *res, |
| 125 | GError **error); |
| 126 | |
| 127 | gboolean timedated__call_set_timezone_sync ( |
| 128 | Timedated *proxy, |
| 129 | const gchar *arg_timezone, |
| 130 | gboolean arg_user_interaction, |
| 131 | GCancellable *cancellable, |
| 132 | GError **error); |
| 133 | |
| 134 | void timedated__call_set_local_rtc ( |
| 135 | Timedated *proxy, |
| 136 | gboolean arg_local_rtc, |
| 137 | gboolean arg_fix_system, |
| 138 | gboolean arg_user_interaction, |
| 139 | GCancellable *cancellable, |
| 140 | GAsyncReadyCallback callback, |
| 141 | gpointer user_data); |
| 142 | |
| 143 | gboolean timedated__call_set_local_rtc_finish ( |
| 144 | Timedated *proxy, |
| 145 | GAsyncResult *res, |
| 146 | GError **error); |
| 147 | |
| 148 | gboolean timedated__call_set_local_rtc_sync ( |
| 149 | Timedated *proxy, |
| 150 | gboolean arg_local_rtc, |
| 151 | gboolean arg_fix_system, |
| 152 | gboolean arg_user_interaction, |
| 153 | GCancellable *cancellable, |
| 154 | GError **error); |
| 155 | |
| 156 | void timedated__call_set_ntp ( |
| 157 | Timedated *proxy, |
| 158 | gboolean arg_use_ntp, |
| 159 | gboolean arg_user_interaction, |
| 160 | GCancellable *cancellable, |
| 161 | GAsyncReadyCallback callback, |
| 162 | gpointer user_data); |
| 163 | |
| 164 | gboolean timedated__call_set_ntp_finish ( |
| 165 | Timedated *proxy, |
| 166 | GAsyncResult *res, |
| 167 | GError **error); |
| 168 | |
| 169 | gboolean timedated__call_set_ntp_sync ( |
| 170 | Timedated *proxy, |
| 171 | gboolean arg_use_ntp, |
| 172 | gboolean arg_user_interaction, |
| 173 | GCancellable *cancellable, |
| 174 | GError **error); |
| 175 | |
| 176 | |
| 177 | |
| 178 | /* D-Bus property accessors: */ |
| 179 | const gchar *timedated__get_timezone (Timedated *object); |
| 180 | gchar *timedated__dup_timezone (Timedated *object); |
| 181 | void timedated__set_timezone (Timedated *object, const gchar *value); |
| 182 | |
| 183 | gboolean timedated__get_local_rtc (Timedated *object); |
| 184 | void timedated__set_local_rtc (Timedated *object, gboolean value); |
| 185 | |
| 186 | gboolean timedated__get_ntp (Timedated *object); |
| 187 | void timedated__set_ntp (Timedated *object, gboolean value); |
| 188 | |
| 189 | |
| 190 | /* ---- */ |
| 191 | |
| 192 | #define TIMEDATED_TYPE__PROXY (timedated__proxy_get_type ()) |
| 193 | #define TIMEDATED__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE__PROXY, TimedatedProxy)) |
| 194 | #define TIMEDATED__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE__PROXY, TimedatedProxyClass)) |
| 195 | #define TIMEDATED__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE__PROXY, TimedatedProxyClass)) |
| 196 | #define TIMEDATED_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE__PROXY)) |
| 197 | #define TIMEDATED_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE__PROXY)) |
| 198 | |
| 199 | typedef struct _TimedatedProxy TimedatedProxy; |
| 200 | typedef struct _TimedatedProxyClass TimedatedProxyClass; |
| 201 | typedef struct _TimedatedProxyPrivate TimedatedProxyPrivate; |
| 202 | |
| 203 | struct _TimedatedProxy |
| 204 | { |
| 205 | /*< private >*/ |
| 206 | GDBusProxy parent_instance; |
| 207 | TimedatedProxyPrivate *priv; |
| 208 | }; |
| 209 | |
| 210 | struct _TimedatedProxyClass |
| 211 | { |
| 212 | GDBusProxyClass parent_class; |
| 213 | }; |
| 214 | |
| 215 | GType timedated__proxy_get_type (void) G_GNUC_CONST; |
| 216 | |
| 217 | void timedated__proxy_new ( |
| 218 | GDBusConnection *connection, |
| 219 | GDBusProxyFlags flags, |
| 220 | const gchar *name, |
| 221 | const gchar *object_path, |
| 222 | GCancellable *cancellable, |
| 223 | GAsyncReadyCallback callback, |
| 224 | gpointer user_data); |
| 225 | Timedated *timedated__proxy_new_finish ( |
| 226 | GAsyncResult *res, |
| 227 | GError **error); |
| 228 | Timedated *timedated__proxy_new_sync ( |
| 229 | GDBusConnection *connection, |
| 230 | GDBusProxyFlags flags, |
| 231 | const gchar *name, |
| 232 | const gchar *object_path, |
| 233 | GCancellable *cancellable, |
| 234 | GError **error); |
| 235 | |
| 236 | void timedated__proxy_new_for_bus ( |
| 237 | GBusType bus_type, |
| 238 | GDBusProxyFlags flags, |
| 239 | const gchar *name, |
| 240 | const gchar *object_path, |
| 241 | GCancellable *cancellable, |
| 242 | GAsyncReadyCallback callback, |
| 243 | gpointer user_data); |
| 244 | Timedated *timedated__proxy_new_for_bus_finish ( |
| 245 | GAsyncResult *res, |
| 246 | GError **error); |
| 247 | Timedated *timedated__proxy_new_for_bus_sync ( |
| 248 | GBusType bus_type, |
| 249 | GDBusProxyFlags flags, |
| 250 | const gchar *name, |
| 251 | const gchar *object_path, |
| 252 | GCancellable *cancellable, |
| 253 | GError **error); |
| 254 | |
| 255 | |
| 256 | /* ---- */ |
| 257 | |
| 258 | #define TIMEDATED_TYPE__SKELETON (timedated__skeleton_get_type ()) |
| 259 | #define TIMEDATED__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE__SKELETON, TimedatedSkeleton)) |
| 260 | #define TIMEDATED__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE__SKELETON, TimedatedSkeletonClass)) |
| 261 | #define TIMEDATED__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE__SKELETON, TimedatedSkeletonClass)) |
| 262 | #define TIMEDATED_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE__SKELETON)) |
| 263 | #define TIMEDATED_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE__SKELETON)) |
| 264 | |
| 265 | typedef struct _TimedatedSkeleton TimedatedSkeleton; |
| 266 | typedef struct _TimedatedSkeletonClass TimedatedSkeletonClass; |
| 267 | typedef struct _TimedatedSkeletonPrivate TimedatedSkeletonPrivate; |
| 268 | |
| 269 | struct _TimedatedSkeleton |
| 270 | { |
| 271 | /*< private >*/ |
| 272 | GDBusInterfaceSkeleton parent_instance; |
| 273 | TimedatedSkeletonPrivate *priv; |
| 274 | }; |
| 275 | |
| 276 | struct _TimedatedSkeletonClass |
| 277 | { |
| 278 | GDBusInterfaceSkeletonClass parent_class; |
| 279 | }; |
| 280 | |
| 281 | GType timedated__skeleton_get_type (void) G_GNUC_CONST; |
| 282 | |
| 283 | Timedated *timedated__skeleton_new (void); |
| 284 | |
| 285 | |
| 286 | G_END_DECLS |
| 287 | |
| 288 | #endif /* __TIMEDATED_GEN_H__ */ |