refactor makefile with env variables
[systembsd.git] / src / interfaces / timedated / timedated-gen.h
CommitLineData
5047f6bf 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
7539ecc4 7#ifndef __TIMEDATED_GEN_H__
8#define __TIMEDATED_GEN_H__
5047f6bf 9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.freedesktop.timedate1 */
17
7539ecc4 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))
5047f6bf 22
7539ecc4 23struct _Timedate1;
24typedef struct _Timedate1 Timedate1;
25typedef struct _Timedate1Iface Timedate1Iface;
5047f6bf 26
7539ecc4 27struct _Timedate1Iface
5047f6bf 28{
29 GTypeInterface parent_iface;
30
31
32 gboolean (*handle_set_local_rtc) (
7539ecc4 33 Timedate1 *object,
5047f6bf 34 GDBusMethodInvocation *invocation,
1aa981f7 35 gboolean arg_unnamed_arg0,
36 gboolean arg_unnamed_arg1,
37 gboolean arg_unnamed_arg2);
5047f6bf 38
39 gboolean (*handle_set_ntp) (
7539ecc4 40 Timedate1 *object,
5047f6bf 41 GDBusMethodInvocation *invocation,
1aa981f7 42 gboolean arg_unnamed_arg0,
43 gboolean arg_unnamed_arg1);
5047f6bf 44
45 gboolean (*handle_set_time) (
7539ecc4 46 Timedate1 *object,
5047f6bf 47 GDBusMethodInvocation *invocation,
1aa981f7 48 gint64 arg_unnamed_arg0,
49 gboolean arg_unnamed_arg1,
50 gboolean arg_unnamed_arg2);
5047f6bf 51
52 gboolean (*handle_set_timezone) (
7539ecc4 53 Timedate1 *object,
5047f6bf 54 GDBusMethodInvocation *invocation,
1aa981f7 55 const gchar *arg_unnamed_arg0,
56 gboolean arg_unnamed_arg1);
5047f6bf 57
7539ecc4 58 gboolean (*get_can_ntp) (Timedate1 *object);
5047f6bf 59
7539ecc4 60 gboolean (*get_local_rtc) (Timedate1 *object);
5047f6bf 61
7539ecc4 62 gboolean (*get_ntp) (Timedate1 *object);
1aa981f7 63
7539ecc4 64 gboolean (*get_ntpsynchronized) (Timedate1 *object);
1aa981f7 65
7539ecc4 66 guint64 (*get_rtctime_usec) (Timedate1 *object);
1aa981f7 67
7539ecc4 68 guint64 (*get_time_usec) (Timedate1 *object);
1aa981f7 69
7539ecc4 70 const gchar * (*get_timezone) (Timedate1 *object);
5047f6bf 71
72};
73
7539ecc4 74GType timedate1_get_type (void) G_GNUC_CONST;
5047f6bf 75
7539ecc4 76GDBusInterfaceInfo *timedate1_interface_info (void);
77guint timedate1_override_properties (GObjectClass *klass, guint property_id_begin);
5047f6bf 78
79
80/* D-Bus method call completion functions: */
7539ecc4 81void timedate1_complete_set_time (
82 Timedate1 *object,
5047f6bf 83 GDBusMethodInvocation *invocation);
84
7539ecc4 85void timedate1_complete_set_timezone (
86 Timedate1 *object,
5047f6bf 87 GDBusMethodInvocation *invocation);
88
7539ecc4 89void timedate1_complete_set_local_rtc (
90 Timedate1 *object,
5047f6bf 91 GDBusMethodInvocation *invocation);
92
7539ecc4 93void timedate1_complete_set_ntp (
94 Timedate1 *object,
5047f6bf 95 GDBusMethodInvocation *invocation);
96
97
98
99/* D-Bus method calls: */
7539ecc4 100void timedate1_call_set_time (
101 Timedate1 *proxy,
1aa981f7 102 gint64 arg_unnamed_arg0,
103 gboolean arg_unnamed_arg1,
104 gboolean arg_unnamed_arg2,
5047f6bf 105 GCancellable *cancellable,
106 GAsyncReadyCallback callback,
107 gpointer user_data);
108
7539ecc4 109gboolean timedate1_call_set_time_finish (
110 Timedate1 *proxy,
5047f6bf 111 GAsyncResult *res,
112 GError **error);
113
7539ecc4 114gboolean timedate1_call_set_time_sync (
115 Timedate1 *proxy,
1aa981f7 116 gint64 arg_unnamed_arg0,
117 gboolean arg_unnamed_arg1,
118 gboolean arg_unnamed_arg2,
5047f6bf 119 GCancellable *cancellable,
120 GError **error);
121
7539ecc4 122void timedate1_call_set_timezone (
123 Timedate1 *proxy,
1aa981f7 124 const gchar *arg_unnamed_arg0,
125 gboolean arg_unnamed_arg1,
5047f6bf 126 GCancellable *cancellable,
127 GAsyncReadyCallback callback,
128 gpointer user_data);
129
7539ecc4 130gboolean timedate1_call_set_timezone_finish (
131 Timedate1 *proxy,
5047f6bf 132 GAsyncResult *res,
133 GError **error);
134
7539ecc4 135gboolean timedate1_call_set_timezone_sync (
136 Timedate1 *proxy,
1aa981f7 137 const gchar *arg_unnamed_arg0,
138 gboolean arg_unnamed_arg1,
5047f6bf 139 GCancellable *cancellable,
140 GError **error);
141
7539ecc4 142void timedate1_call_set_local_rtc (
143 Timedate1 *proxy,
1aa981f7 144 gboolean arg_unnamed_arg0,
145 gboolean arg_unnamed_arg1,
146 gboolean arg_unnamed_arg2,
5047f6bf 147 GCancellable *cancellable,
148 GAsyncReadyCallback callback,
149 gpointer user_data);
150
7539ecc4 151gboolean timedate1_call_set_local_rtc_finish (
152 Timedate1 *proxy,
5047f6bf 153 GAsyncResult *res,
154 GError **error);
155
7539ecc4 156gboolean timedate1_call_set_local_rtc_sync (
157 Timedate1 *proxy,
1aa981f7 158 gboolean arg_unnamed_arg0,
159 gboolean arg_unnamed_arg1,
160 gboolean arg_unnamed_arg2,
5047f6bf 161 GCancellable *cancellable,
162 GError **error);
163
7539ecc4 164void timedate1_call_set_ntp (
165 Timedate1 *proxy,
1aa981f7 166 gboolean arg_unnamed_arg0,
167 gboolean arg_unnamed_arg1,
5047f6bf 168 GCancellable *cancellable,
169 GAsyncReadyCallback callback,
170 gpointer user_data);
171
7539ecc4 172gboolean timedate1_call_set_ntp_finish (
173 Timedate1 *proxy,
5047f6bf 174 GAsyncResult *res,
175 GError **error);
176
7539ecc4 177gboolean timedate1_call_set_ntp_sync (
178 Timedate1 *proxy,
1aa981f7 179 gboolean arg_unnamed_arg0,
180 gboolean arg_unnamed_arg1,
5047f6bf 181 GCancellable *cancellable,
182 GError **error);
183
184
185
186/* D-Bus property accessors: */
7539ecc4 187const gchar *timedate1_get_timezone (Timedate1 *object);
188gchar *timedate1_dup_timezone (Timedate1 *object);
189void timedate1_set_timezone (Timedate1 *object, const gchar *value);
1aa981f7 190
7539ecc4 191gboolean timedate1_get_local_rtc (Timedate1 *object);
192void timedate1_set_local_rtc (Timedate1 *object, gboolean value);
1aa981f7 193
7539ecc4 194gboolean timedate1_get_can_ntp (Timedate1 *object);
195void timedate1_set_can_ntp (Timedate1 *object, gboolean value);
1aa981f7 196
7539ecc4 197gboolean timedate1_get_ntp (Timedate1 *object);
198void timedate1_set_ntp (Timedate1 *object, gboolean value);
1aa981f7 199
7539ecc4 200gboolean timedate1_get_ntpsynchronized (Timedate1 *object);
201void timedate1_set_ntpsynchronized (Timedate1 *object, gboolean value);
5047f6bf 202
7539ecc4 203guint64 timedate1_get_time_usec (Timedate1 *object);
204void timedate1_set_time_usec (Timedate1 *object, guint64 value);
5047f6bf 205
7539ecc4 206guint64 timedate1_get_rtctime_usec (Timedate1 *object);
207void timedate1_set_rtctime_usec (Timedate1 *object, guint64 value);
5047f6bf 208
209
210/* ---- */
211
7539ecc4 212#define TYPE_TIMEDATE1_PROXY (timedate1_proxy_get_type ())
213#define TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_PROXY, Timedate1Proxy))
214#define TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
215#define TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
216#define IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_PROXY))
217#define IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_PROXY))
5047f6bf 218
7539ecc4 219typedef struct _Timedate1Proxy Timedate1Proxy;
220typedef struct _Timedate1ProxyClass Timedate1ProxyClass;
221typedef struct _Timedate1ProxyPrivate Timedate1ProxyPrivate;
5047f6bf 222
7539ecc4 223struct _Timedate1Proxy
5047f6bf 224{
225 /*< private >*/
226 GDBusProxy parent_instance;
7539ecc4 227 Timedate1ProxyPrivate *priv;
5047f6bf 228};
229
7539ecc4 230struct _Timedate1ProxyClass
5047f6bf 231{
232 GDBusProxyClass parent_class;
233};
234
7539ecc4 235GType timedate1_proxy_get_type (void) G_GNUC_CONST;
5047f6bf 236
7539ecc4 237void timedate1_proxy_new (
5047f6bf 238 GDBusConnection *connection,
239 GDBusProxyFlags flags,
240 const gchar *name,
241 const gchar *object_path,
242 GCancellable *cancellable,
243 GAsyncReadyCallback callback,
244 gpointer user_data);
7539ecc4 245Timedate1 *timedate1_proxy_new_finish (
5047f6bf 246 GAsyncResult *res,
247 GError **error);
7539ecc4 248Timedate1 *timedate1_proxy_new_sync (
5047f6bf 249 GDBusConnection *connection,
250 GDBusProxyFlags flags,
251 const gchar *name,
252 const gchar *object_path,
253 GCancellable *cancellable,
254 GError **error);
255
7539ecc4 256void timedate1_proxy_new_for_bus (
5047f6bf 257 GBusType bus_type,
258 GDBusProxyFlags flags,
259 const gchar *name,
260 const gchar *object_path,
261 GCancellable *cancellable,
262 GAsyncReadyCallback callback,
263 gpointer user_data);
7539ecc4 264Timedate1 *timedate1_proxy_new_for_bus_finish (
5047f6bf 265 GAsyncResult *res,
266 GError **error);
7539ecc4 267Timedate1 *timedate1_proxy_new_for_bus_sync (
5047f6bf 268 GBusType bus_type,
269 GDBusProxyFlags flags,
270 const gchar *name,
271 const gchar *object_path,
272 GCancellable *cancellable,
273 GError **error);
274
275
276/* ---- */
277
7539ecc4 278#define TYPE_TIMEDATE1_SKELETON (timedate1_skeleton_get_type ())
279#define TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_SKELETON, Timedate1Skeleton))
280#define TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
281#define TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
282#define IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_SKELETON))
283#define IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_SKELETON))
5047f6bf 284
7539ecc4 285typedef struct _Timedate1Skeleton Timedate1Skeleton;
286typedef struct _Timedate1SkeletonClass Timedate1SkeletonClass;
287typedef struct _Timedate1SkeletonPrivate Timedate1SkeletonPrivate;
5047f6bf 288
7539ecc4 289struct _Timedate1Skeleton
5047f6bf 290{
291 /*< private >*/
292 GDBusInterfaceSkeleton parent_instance;
7539ecc4 293 Timedate1SkeletonPrivate *priv;
5047f6bf 294};
295
7539ecc4 296struct _Timedate1SkeletonClass
5047f6bf 297{
298 GDBusInterfaceSkeletonClass parent_class;
299};
300
7539ecc4 301GType timedate1_skeleton_get_type (void) G_GNUC_CONST;
1aa981f7 302
7539ecc4 303Timedate1 *timedate1_skeleton_new (void);
1aa981f7 304
305
5047f6bf 306G_END_DECLS
307
7539ecc4 308#endif /* __TIMEDATED_GEN_H__ */