2 * Generated by gdbus-codegen 2.40.0. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
8 #define __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.freedesktop.timedate1 */
18 #define TIMEDATED_TYPE_TIMEDATE1 (timedated_timedate1_get_type ())
19 #define TIMEDATED_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1, timedatedTimedate1))
20 #define TIMEDATED_IS_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1))
21 #define TIMEDATED_TIMEDATE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TIMEDATED_TYPE_TIMEDATE1, timedatedTimedate1Iface))
23 struct _timedatedTimedate1
;
24 typedef struct _timedatedTimedate1 timedatedTimedate1
;
25 typedef struct _timedatedTimedate1Iface timedatedTimedate1Iface
;
27 struct _timedatedTimedate1Iface
29 GTypeInterface parent_iface
;
32 gboolean (*handle_set_local_rtc
) (
33 timedatedTimedate1
*object
,
34 GDBusMethodInvocation
*invocation
,
35 gboolean arg_unnamed_arg0
,
36 gboolean arg_unnamed_arg1
,
37 gboolean arg_unnamed_arg2
);
39 gboolean (*handle_set_ntp
) (
40 timedatedTimedate1
*object
,
41 GDBusMethodInvocation
*invocation
,
42 gboolean arg_unnamed_arg0
,
43 gboolean arg_unnamed_arg1
);
45 gboolean (*handle_set_time
) (
46 timedatedTimedate1
*object
,
47 GDBusMethodInvocation
*invocation
,
48 gint64 arg_unnamed_arg0
,
49 gboolean arg_unnamed_arg1
,
50 gboolean arg_unnamed_arg2
);
52 gboolean (*handle_set_timezone
) (
53 timedatedTimedate1
*object
,
54 GDBusMethodInvocation
*invocation
,
55 const gchar
*arg_unnamed_arg0
,
56 gboolean arg_unnamed_arg1
);
58 gboolean (*get_can_ntp
) (timedatedTimedate1
*object
);
60 gboolean (*get_local_rtc
) (timedatedTimedate1
*object
);
62 gboolean (*get_ntp
) (timedatedTimedate1
*object
);
64 gboolean (*get_ntpsynchronized
) (timedatedTimedate1
*object
);
66 guint64 (*get_rtctime_usec
) (timedatedTimedate1
*object
);
68 guint64 (*get_time_usec
) (timedatedTimedate1
*object
);
70 const gchar
* (*get_timezone
) (timedatedTimedate1
*object
);
74 GType
timedated_timedate1_get_type (void) G_GNUC_CONST
;
76 GDBusInterfaceInfo
*timedated_timedate1_interface_info (void);
77 guint
timedated_timedate1_override_properties (GObjectClass
*klass
, guint property_id_begin
);
80 /* D-Bus method call completion functions: */
81 void timedated_timedate1_complete_set_time (
82 timedatedTimedate1
*object
,
83 GDBusMethodInvocation
*invocation
);
85 void timedated_timedate1_complete_set_timezone (
86 timedatedTimedate1
*object
,
87 GDBusMethodInvocation
*invocation
);
89 void timedated_timedate1_complete_set_local_rtc (
90 timedatedTimedate1
*object
,
91 GDBusMethodInvocation
*invocation
);
93 void timedated_timedate1_complete_set_ntp (
94 timedatedTimedate1
*object
,
95 GDBusMethodInvocation
*invocation
);
99 /* D-Bus method calls: */
100 void timedated_timedate1_call_set_time (
101 timedatedTimedate1
*proxy
,
102 gint64 arg_unnamed_arg0
,
103 gboolean arg_unnamed_arg1
,
104 gboolean arg_unnamed_arg2
,
105 GCancellable
*cancellable
,
106 GAsyncReadyCallback callback
,
109 gboolean
timedated_timedate1_call_set_time_finish (
110 timedatedTimedate1
*proxy
,
114 gboolean
timedated_timedate1_call_set_time_sync (
115 timedatedTimedate1
*proxy
,
116 gint64 arg_unnamed_arg0
,
117 gboolean arg_unnamed_arg1
,
118 gboolean arg_unnamed_arg2
,
119 GCancellable
*cancellable
,
122 void timedated_timedate1_call_set_timezone (
123 timedatedTimedate1
*proxy
,
124 const gchar
*arg_unnamed_arg0
,
125 gboolean arg_unnamed_arg1
,
126 GCancellable
*cancellable
,
127 GAsyncReadyCallback callback
,
130 gboolean
timedated_timedate1_call_set_timezone_finish (
131 timedatedTimedate1
*proxy
,
135 gboolean
timedated_timedate1_call_set_timezone_sync (
136 timedatedTimedate1
*proxy
,
137 const gchar
*arg_unnamed_arg0
,
138 gboolean arg_unnamed_arg1
,
139 GCancellable
*cancellable
,
142 void timedated_timedate1_call_set_local_rtc (
143 timedatedTimedate1
*proxy
,
144 gboolean arg_unnamed_arg0
,
145 gboolean arg_unnamed_arg1
,
146 gboolean arg_unnamed_arg2
,
147 GCancellable
*cancellable
,
148 GAsyncReadyCallback callback
,
151 gboolean
timedated_timedate1_call_set_local_rtc_finish (
152 timedatedTimedate1
*proxy
,
156 gboolean
timedated_timedate1_call_set_local_rtc_sync (
157 timedatedTimedate1
*proxy
,
158 gboolean arg_unnamed_arg0
,
159 gboolean arg_unnamed_arg1
,
160 gboolean arg_unnamed_arg2
,
161 GCancellable
*cancellable
,
164 void timedated_timedate1_call_set_ntp (
165 timedatedTimedate1
*proxy
,
166 gboolean arg_unnamed_arg0
,
167 gboolean arg_unnamed_arg1
,
168 GCancellable
*cancellable
,
169 GAsyncReadyCallback callback
,
172 gboolean
timedated_timedate1_call_set_ntp_finish (
173 timedatedTimedate1
*proxy
,
177 gboolean
timedated_timedate1_call_set_ntp_sync (
178 timedatedTimedate1
*proxy
,
179 gboolean arg_unnamed_arg0
,
180 gboolean arg_unnamed_arg1
,
181 GCancellable
*cancellable
,
186 /* D-Bus property accessors: */
187 const gchar
*timedated_timedate1_get_timezone (timedatedTimedate1
*object
);
188 gchar
*timedated_timedate1_dup_timezone (timedatedTimedate1
*object
);
189 void timedated_timedate1_set_timezone (timedatedTimedate1
*object
, const gchar
*value
);
191 gboolean
timedated_timedate1_get_local_rtc (timedatedTimedate1
*object
);
192 void timedated_timedate1_set_local_rtc (timedatedTimedate1
*object
, gboolean value
);
194 gboolean
timedated_timedate1_get_can_ntp (timedatedTimedate1
*object
);
195 void timedated_timedate1_set_can_ntp (timedatedTimedate1
*object
, gboolean value
);
197 gboolean
timedated_timedate1_get_ntp (timedatedTimedate1
*object
);
198 void timedated_timedate1_set_ntp (timedatedTimedate1
*object
, gboolean value
);
200 gboolean
timedated_timedate1_get_ntpsynchronized (timedatedTimedate1
*object
);
201 void timedated_timedate1_set_ntpsynchronized (timedatedTimedate1
*object
, gboolean value
);
203 guint64
timedated_timedate1_get_time_usec (timedatedTimedate1
*object
);
204 void timedated_timedate1_set_time_usec (timedatedTimedate1
*object
, guint64 value
);
206 guint64
timedated_timedate1_get_rtctime_usec (timedatedTimedate1
*object
);
207 void timedated_timedate1_set_rtctime_usec (timedatedTimedate1
*object
, guint64 value
);
212 #define TIMEDATED_TYPE_TIMEDATE1_PROXY (timedated_timedate1_proxy_get_type ())
213 #define TIMEDATED_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1Proxy))
214 #define TIMEDATED_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1ProxyClass))
215 #define TIMEDATED_TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY, timedatedTimedate1ProxyClass))
216 #define TIMEDATED_IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1_PROXY))
217 #define TIMEDATED_IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE_TIMEDATE1_PROXY))
219 typedef struct _timedatedTimedate1Proxy timedatedTimedate1Proxy
;
220 typedef struct _timedatedTimedate1ProxyClass timedatedTimedate1ProxyClass
;
221 typedef struct _timedatedTimedate1ProxyPrivate timedatedTimedate1ProxyPrivate
;
223 struct _timedatedTimedate1Proxy
226 GDBusProxy parent_instance
;
227 timedatedTimedate1ProxyPrivate
*priv
;
230 struct _timedatedTimedate1ProxyClass
232 GDBusProxyClass parent_class
;
235 GType
timedated_timedate1_proxy_get_type (void) G_GNUC_CONST
;
237 void timedated_timedate1_proxy_new (
238 GDBusConnection
*connection
,
239 GDBusProxyFlags flags
,
241 const gchar
*object_path
,
242 GCancellable
*cancellable
,
243 GAsyncReadyCallback callback
,
245 timedatedTimedate1
*timedated_timedate1_proxy_new_finish (
248 timedatedTimedate1
*timedated_timedate1_proxy_new_sync (
249 GDBusConnection
*connection
,
250 GDBusProxyFlags flags
,
252 const gchar
*object_path
,
253 GCancellable
*cancellable
,
256 void timedated_timedate1_proxy_new_for_bus (
258 GDBusProxyFlags flags
,
260 const gchar
*object_path
,
261 GCancellable
*cancellable
,
262 GAsyncReadyCallback callback
,
264 timedatedTimedate1
*timedated_timedate1_proxy_new_for_bus_finish (
267 timedatedTimedate1
*timedated_timedate1_proxy_new_for_bus_sync (
269 GDBusProxyFlags flags
,
271 const gchar
*object_path
,
272 GCancellable
*cancellable
,
278 #define TIMEDATED_TYPE_TIMEDATE1_SKELETON (timedated_timedate1_skeleton_get_type ())
279 #define TIMEDATED_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1Skeleton))
280 #define TIMEDATED_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1SkeletonClass))
281 #define TIMEDATED_TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON, timedatedTimedate1SkeletonClass))
282 #define TIMEDATED_IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TIMEDATED_TYPE_TIMEDATE1_SKELETON))
283 #define TIMEDATED_IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TIMEDATED_TYPE_TIMEDATE1_SKELETON))
285 typedef struct _timedatedTimedate1Skeleton timedatedTimedate1Skeleton
;
286 typedef struct _timedatedTimedate1SkeletonClass timedatedTimedate1SkeletonClass
;
287 typedef struct _timedatedTimedate1SkeletonPrivate timedatedTimedate1SkeletonPrivate
;
289 struct _timedatedTimedate1Skeleton
292 GDBusInterfaceSkeleton parent_instance
;
293 timedatedTimedate1SkeletonPrivate
*priv
;
296 struct _timedatedTimedate1SkeletonClass
298 GDBusInterfaceSkeletonClass parent_class
;
301 GType
timedated_timedate1_skeleton_get_type (void) G_GNUC_CONST
;
303 timedatedTimedate1
*timedated_timedate1_skeleton_new (void);
308 #endif /* __SRC_INTERFACES_TIMEDATED_TIMEDATED_GEN_H__ */