2
* Generated by gdbus-codegen 2.31.7. DO NOT EDIT.
4
* The license of this code is the same as for the source it was derived from.
7
#ifndef __TIMEDATED_H__
8
#define __TIMEDATED_H__
15
/* ------------------------------------------------------------------------ */
16
/* Declarations for org.freedesktop.timedate1 */
18
#define TYPE_TIMEDATE1 (timedate1_get_type ())
19
#define TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1, Timedate1))
20
#define IS_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1))
21
#define TIMEDATE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_TIMEDATE1, Timedate1Iface))
24
typedef struct _Timedate1 Timedate1;
25
typedef struct _Timedate1Iface Timedate1Iface;
27
struct _Timedate1Iface
29
GTypeInterface parent_iface;
32
gboolean (*handle_set_local_rtc) (
34
GDBusMethodInvocation *invocation,
35
gboolean arg_local_rtc,
36
gboolean arg_fix_system,
37
gboolean arg_user_interaction);
39
gboolean (*handle_set_ntp) (
41
GDBusMethodInvocation *invocation,
43
gboolean arg_user_interaction);
45
gboolean (*handle_set_time) (
47
GDBusMethodInvocation *invocation,
49
gboolean arg_relative,
50
gboolean arg_user_interaction);
52
gboolean (*handle_set_timezone) (
54
GDBusMethodInvocation *invocation,
55
const gchar *arg_timezone,
56
gboolean arg_user_interaction);
58
gboolean (*get_local_rtc) (Timedate1 *object);
60
gboolean (*get_ntp) (Timedate1 *object);
62
const gchar * (*get_timezone) (Timedate1 *object);
66
GType timedate1_get_type (void) G_GNUC_CONST;
68
GDBusInterfaceInfo *timedate1_interface_info (void);
69
guint timedate1_override_properties (GObjectClass *klass, guint property_id_begin);
72
/* D-Bus method call completion functions: */
73
void timedate1_complete_set_time (
75
GDBusMethodInvocation *invocation);
77
void timedate1_complete_set_timezone (
79
GDBusMethodInvocation *invocation);
81
void timedate1_complete_set_local_rtc (
83
GDBusMethodInvocation *invocation);
85
void timedate1_complete_set_ntp (
87
GDBusMethodInvocation *invocation);
91
/* D-Bus method calls: */
92
void timedate1_call_set_time (
95
gboolean arg_relative,
96
gboolean arg_user_interaction,
97
GCancellable *cancellable,
98
GAsyncReadyCallback callback,
101
gboolean timedate1_call_set_time_finish (
106
gboolean timedate1_call_set_time_sync (
109
gboolean arg_relative,
110
gboolean arg_user_interaction,
111
GCancellable *cancellable,
114
void timedate1_call_set_timezone (
116
const gchar *arg_timezone,
117
gboolean arg_user_interaction,
118
GCancellable *cancellable,
119
GAsyncReadyCallback callback,
122
gboolean timedate1_call_set_timezone_finish (
127
gboolean timedate1_call_set_timezone_sync (
129
const gchar *arg_timezone,
130
gboolean arg_user_interaction,
131
GCancellable *cancellable,
134
void timedate1_call_set_local_rtc (
136
gboolean arg_local_rtc,
137
gboolean arg_fix_system,
138
gboolean arg_user_interaction,
139
GCancellable *cancellable,
140
GAsyncReadyCallback callback,
143
gboolean timedate1_call_set_local_rtc_finish (
148
gboolean timedate1_call_set_local_rtc_sync (
150
gboolean arg_local_rtc,
151
gboolean arg_fix_system,
152
gboolean arg_user_interaction,
153
GCancellable *cancellable,
156
void timedate1_call_set_ntp (
158
gboolean arg_use_ntp,
159
gboolean arg_user_interaction,
160
GCancellable *cancellable,
161
GAsyncReadyCallback callback,
164
gboolean timedate1_call_set_ntp_finish (
169
gboolean timedate1_call_set_ntp_sync (
171
gboolean arg_use_ntp,
172
gboolean arg_user_interaction,
173
GCancellable *cancellable,
178
/* D-Bus property accessors: */
179
const gchar *timedate1_get_timezone (Timedate1 *object);
180
gchar *timedate1_dup_timezone (Timedate1 *object);
181
void timedate1_set_timezone (Timedate1 *object, const gchar *value);
183
gboolean timedate1_get_local_rtc (Timedate1 *object);
184
void timedate1_set_local_rtc (Timedate1 *object, gboolean value);
186
gboolean timedate1_get_ntp (Timedate1 *object);
187
void timedate1_set_ntp (Timedate1 *object, gboolean value);
192
#define TYPE_TIMEDATE1_PROXY (timedate1_proxy_get_type ())
193
#define TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_PROXY, Timedate1Proxy))
194
#define TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
195
#define TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
196
#define IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_PROXY))
197
#define IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_PROXY))
199
typedef struct _Timedate1Proxy Timedate1Proxy;
200
typedef struct _Timedate1ProxyClass Timedate1ProxyClass;
201
typedef struct _Timedate1ProxyPrivate Timedate1ProxyPrivate;
203
struct _Timedate1Proxy
206
GDBusProxy parent_instance;
207
Timedate1ProxyPrivate *priv;
210
struct _Timedate1ProxyClass
212
GDBusProxyClass parent_class;
215
GType timedate1_proxy_get_type (void) G_GNUC_CONST;
217
void timedate1_proxy_new (
218
GDBusConnection *connection,
219
GDBusProxyFlags flags,
221
const gchar *object_path,
222
GCancellable *cancellable,
223
GAsyncReadyCallback callback,
225
Timedate1 *timedate1_proxy_new_finish (
228
Timedate1 *timedate1_proxy_new_sync (
229
GDBusConnection *connection,
230
GDBusProxyFlags flags,
232
const gchar *object_path,
233
GCancellable *cancellable,
236
void timedate1_proxy_new_for_bus (
238
GDBusProxyFlags flags,
240
const gchar *object_path,
241
GCancellable *cancellable,
242
GAsyncReadyCallback callback,
244
Timedate1 *timedate1_proxy_new_for_bus_finish (
247
Timedate1 *timedate1_proxy_new_for_bus_sync (
249
GDBusProxyFlags flags,
251
const gchar *object_path,
252
GCancellable *cancellable,
258
#define TYPE_TIMEDATE1_SKELETON (timedate1_skeleton_get_type ())
259
#define TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_SKELETON, Timedate1Skeleton))
260
#define TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
261
#define TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
262
#define IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_SKELETON))
263
#define IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_SKELETON))
265
typedef struct _Timedate1Skeleton Timedate1Skeleton;
266
typedef struct _Timedate1SkeletonClass Timedate1SkeletonClass;
267
typedef struct _Timedate1SkeletonPrivate Timedate1SkeletonPrivate;
269
struct _Timedate1Skeleton
272
GDBusInterfaceSkeleton parent_instance;
273
Timedate1SkeletonPrivate *priv;
276
struct _Timedate1SkeletonClass
278
GDBusInterfaceSkeletonClass parent_class;
281
GType timedate1_skeleton_get_type (void) G_GNUC_CONST;
283
Timedate1 *timedate1_skeleton_new (void);
288
#endif /* __TIMEDATED_H__ */