(1) regenerate leaner genfiles, we're not using the object manager functionality...
[systembsd.git] / src / interfaces / hostnamed / hostnamed-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
7#ifndef __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__
8#define __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__
9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.freedesktop.hostname1 */
17
a06e63a1 18#define HOSTNAMED_TYPE_HOSTNAME1 (hostnamed_hostname1_get_type ())
19#define HOSTNAMED_HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), HOSTNAMED_TYPE_HOSTNAME1, hostnamedHostname1))
20#define HOSTNAMED_IS_HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), HOSTNAMED_TYPE_HOSTNAME1))
21#define HOSTNAMED_HOSTNAME1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), HOSTNAMED_TYPE_HOSTNAME1, hostnamedHostname1Iface))
5047f6bf 22
a06e63a1 23struct _hostnamedHostname1;
24typedef struct _hostnamedHostname1 hostnamedHostname1;
25typedef struct _hostnamedHostname1Iface hostnamedHostname1Iface;
5047f6bf 26
a06e63a1 27struct _hostnamedHostname1Iface
5047f6bf 28{
29 GTypeInterface parent_iface;
30
31
3d53b501 32 gboolean (*handle_set_chassis) (
a06e63a1 33 hostnamedHostname1 *object,
3d53b501 34 GDBusMethodInvocation *invocation,
35 const gchar *arg_unnamed_arg0,
36 gboolean arg_unnamed_arg1);
37
5047f6bf 38 gboolean (*handle_set_hostname) (
a06e63a1 39 hostnamedHostname1 *object,
5047f6bf 40 GDBusMethodInvocation *invocation,
3d53b501 41 const gchar *arg_unnamed_arg0,
42 gboolean arg_unnamed_arg1);
5047f6bf 43
44 gboolean (*handle_set_icon_name) (
a06e63a1 45 hostnamedHostname1 *object,
5047f6bf 46 GDBusMethodInvocation *invocation,
3d53b501 47 const gchar *arg_unnamed_arg0,
48 gboolean arg_unnamed_arg1);
5047f6bf 49
50 gboolean (*handle_set_pretty_hostname) (
a06e63a1 51 hostnamedHostname1 *object,
5047f6bf 52 GDBusMethodInvocation *invocation,
3d53b501 53 const gchar *arg_unnamed_arg0,
54 gboolean arg_unnamed_arg1);
5047f6bf 55
56 gboolean (*handle_set_static_hostname) (
a06e63a1 57 hostnamedHostname1 *object,
5047f6bf 58 GDBusMethodInvocation *invocation,
3d53b501 59 const gchar *arg_unnamed_arg0,
60 gboolean arg_unnamed_arg1);
61
a06e63a1 62 const gchar * (*get_chassis) (hostnamedHostname1 *object);
5047f6bf 63
a06e63a1 64 const gchar * (*get_hostname) (hostnamedHostname1 *object);
5047f6bf 65
a06e63a1 66 const gchar * (*get_icon_name) (hostnamedHostname1 *object);
5047f6bf 67
a06e63a1 68 const gchar * (*get_kernel_name) (hostnamedHostname1 *object);
3d53b501 69
a06e63a1 70 const gchar * (*get_kernel_release) (hostnamedHostname1 *object);
3d53b501 71
a06e63a1 72 const gchar * (*get_kernel_version) (hostnamedHostname1 *object);
3d53b501 73
a06e63a1 74 const gchar * (*get_operating_system_cpename) (hostnamedHostname1 *object);
3d53b501 75
a06e63a1 76 const gchar * (*get_operating_system_pretty_name) (hostnamedHostname1 *object);
3d53b501 77
a06e63a1 78 const gchar * (*get_pretty_hostname) (hostnamedHostname1 *object);
5047f6bf 79
a06e63a1 80 const gchar * (*get_static_hostname) (hostnamedHostname1 *object);
5047f6bf 81
82};
83
a06e63a1 84GType hostnamed_hostname1_get_type (void) G_GNUC_CONST;
5047f6bf 85
a06e63a1 86GDBusInterfaceInfo *hostnamed_hostname1_interface_info (void);
87guint hostnamed_hostname1_override_properties (GObjectClass *klass, guint property_id_begin);
5047f6bf 88
89
90/* D-Bus method call completion functions: */
a06e63a1 91void hostnamed_hostname1_complete_set_hostname (
92 hostnamedHostname1 *object,
5047f6bf 93 GDBusMethodInvocation *invocation);
94
a06e63a1 95void hostnamed_hostname1_complete_set_static_hostname (
96 hostnamedHostname1 *object,
5047f6bf 97 GDBusMethodInvocation *invocation);
98
a06e63a1 99void hostnamed_hostname1_complete_set_pretty_hostname (
100 hostnamedHostname1 *object,
5047f6bf 101 GDBusMethodInvocation *invocation);
102
a06e63a1 103void hostnamed_hostname1_complete_set_icon_name (
104 hostnamedHostname1 *object,
5047f6bf 105 GDBusMethodInvocation *invocation);
106
a06e63a1 107void hostnamed_hostname1_complete_set_chassis (
108 hostnamedHostname1 *object,
3d53b501 109 GDBusMethodInvocation *invocation);
110
5047f6bf 111
112
113/* D-Bus method calls: */
a06e63a1 114void hostnamed_hostname1_call_set_hostname (
115 hostnamedHostname1 *proxy,
3d53b501 116 const gchar *arg_unnamed_arg0,
117 gboolean arg_unnamed_arg1,
5047f6bf 118 GCancellable *cancellable,
119 GAsyncReadyCallback callback,
120 gpointer user_data);
121
a06e63a1 122gboolean hostnamed_hostname1_call_set_hostname_finish (
123 hostnamedHostname1 *proxy,
5047f6bf 124 GAsyncResult *res,
125 GError **error);
126
a06e63a1 127gboolean hostnamed_hostname1_call_set_hostname_sync (
128 hostnamedHostname1 *proxy,
3d53b501 129 const gchar *arg_unnamed_arg0,
130 gboolean arg_unnamed_arg1,
5047f6bf 131 GCancellable *cancellable,
132 GError **error);
133
a06e63a1 134void hostnamed_hostname1_call_set_static_hostname (
135 hostnamedHostname1 *proxy,
3d53b501 136 const gchar *arg_unnamed_arg0,
137 gboolean arg_unnamed_arg1,
5047f6bf 138 GCancellable *cancellable,
139 GAsyncReadyCallback callback,
140 gpointer user_data);
141
a06e63a1 142gboolean hostnamed_hostname1_call_set_static_hostname_finish (
143 hostnamedHostname1 *proxy,
5047f6bf 144 GAsyncResult *res,
145 GError **error);
146
a06e63a1 147gboolean hostnamed_hostname1_call_set_static_hostname_sync (
148 hostnamedHostname1 *proxy,
3d53b501 149 const gchar *arg_unnamed_arg0,
150 gboolean arg_unnamed_arg1,
5047f6bf 151 GCancellable *cancellable,
152 GError **error);
153
a06e63a1 154void hostnamed_hostname1_call_set_pretty_hostname (
155 hostnamedHostname1 *proxy,
3d53b501 156 const gchar *arg_unnamed_arg0,
157 gboolean arg_unnamed_arg1,
5047f6bf 158 GCancellable *cancellable,
159 GAsyncReadyCallback callback,
160 gpointer user_data);
161
a06e63a1 162gboolean hostnamed_hostname1_call_set_pretty_hostname_finish (
163 hostnamedHostname1 *proxy,
5047f6bf 164 GAsyncResult *res,
165 GError **error);
166
a06e63a1 167gboolean hostnamed_hostname1_call_set_pretty_hostname_sync (
168 hostnamedHostname1 *proxy,
3d53b501 169 const gchar *arg_unnamed_arg0,
170 gboolean arg_unnamed_arg1,
5047f6bf 171 GCancellable *cancellable,
172 GError **error);
173
a06e63a1 174void hostnamed_hostname1_call_set_icon_name (
175 hostnamedHostname1 *proxy,
3d53b501 176 const gchar *arg_unnamed_arg0,
177 gboolean arg_unnamed_arg1,
5047f6bf 178 GCancellable *cancellable,
179 GAsyncReadyCallback callback,
180 gpointer user_data);
181
a06e63a1 182gboolean hostnamed_hostname1_call_set_icon_name_finish (
183 hostnamedHostname1 *proxy,
5047f6bf 184 GAsyncResult *res,
185 GError **error);
186
a06e63a1 187gboolean hostnamed_hostname1_call_set_icon_name_sync (
188 hostnamedHostname1 *proxy,
3d53b501 189 const gchar *arg_unnamed_arg0,
190 gboolean arg_unnamed_arg1,
191 GCancellable *cancellable,
192 GError **error);
193
a06e63a1 194void hostnamed_hostname1_call_set_chassis (
195 hostnamedHostname1 *proxy,
3d53b501 196 const gchar *arg_unnamed_arg0,
197 gboolean arg_unnamed_arg1,
198 GCancellable *cancellable,
199 GAsyncReadyCallback callback,
200 gpointer user_data);
201
a06e63a1 202gboolean hostnamed_hostname1_call_set_chassis_finish (
203 hostnamedHostname1 *proxy,
3d53b501 204 GAsyncResult *res,
205 GError **error);
206
a06e63a1 207gboolean hostnamed_hostname1_call_set_chassis_sync (
208 hostnamedHostname1 *proxy,
3d53b501 209 const gchar *arg_unnamed_arg0,
210 gboolean arg_unnamed_arg1,
5047f6bf 211 GCancellable *cancellable,
212 GError **error);
213
214
215
216/* D-Bus property accessors: */
a06e63a1 217const gchar *hostnamed_hostname1_get_hostname (hostnamedHostname1 *object);
218gchar *hostnamed_hostname1_dup_hostname (hostnamedHostname1 *object);
219void hostnamed_hostname1_set_hostname (hostnamedHostname1 *object, const gchar *value);
5047f6bf 220
a06e63a1 221const gchar *hostnamed_hostname1_get_static_hostname (hostnamedHostname1 *object);
222gchar *hostnamed_hostname1_dup_static_hostname (hostnamedHostname1 *object);
223void hostnamed_hostname1_set_static_hostname (hostnamedHostname1 *object, const gchar *value);
5047f6bf 224
a06e63a1 225const gchar *hostnamed_hostname1_get_pretty_hostname (hostnamedHostname1 *object);
226gchar *hostnamed_hostname1_dup_pretty_hostname (hostnamedHostname1 *object);
227void hostnamed_hostname1_set_pretty_hostname (hostnamedHostname1 *object, const gchar *value);
5047f6bf 228
a06e63a1 229const gchar *hostnamed_hostname1_get_icon_name (hostnamedHostname1 *object);
230gchar *hostnamed_hostname1_dup_icon_name (hostnamedHostname1 *object);
231void hostnamed_hostname1_set_icon_name (hostnamedHostname1 *object, const gchar *value);
5047f6bf 232
a06e63a1 233const gchar *hostnamed_hostname1_get_chassis (hostnamedHostname1 *object);
234gchar *hostnamed_hostname1_dup_chassis (hostnamedHostname1 *object);
235void hostnamed_hostname1_set_chassis (hostnamedHostname1 *object, const gchar *value);
3d53b501 236
a06e63a1 237const gchar *hostnamed_hostname1_get_kernel_name (hostnamedHostname1 *object);
238gchar *hostnamed_hostname1_dup_kernel_name (hostnamedHostname1 *object);
239void hostnamed_hostname1_set_kernel_name (hostnamedHostname1 *object, const gchar *value);
3d53b501 240
a06e63a1 241const gchar *hostnamed_hostname1_get_kernel_release (hostnamedHostname1 *object);
242gchar *hostnamed_hostname1_dup_kernel_release (hostnamedHostname1 *object);
243void hostnamed_hostname1_set_kernel_release (hostnamedHostname1 *object, const gchar *value);
3d53b501 244
a06e63a1 245const gchar *hostnamed_hostname1_get_kernel_version (hostnamedHostname1 *object);
246gchar *hostnamed_hostname1_dup_kernel_version (hostnamedHostname1 *object);
247void hostnamed_hostname1_set_kernel_version (hostnamedHostname1 *object, const gchar *value);
3d53b501 248
a06e63a1 249const gchar *hostnamed_hostname1_get_operating_system_pretty_name (hostnamedHostname1 *object);
250gchar *hostnamed_hostname1_dup_operating_system_pretty_name (hostnamedHostname1 *object);
251void hostnamed_hostname1_set_operating_system_pretty_name (hostnamedHostname1 *object, const gchar *value);
3d53b501 252
a06e63a1 253const gchar *hostnamed_hostname1_get_operating_system_cpename (hostnamedHostname1 *object);
254gchar *hostnamed_hostname1_dup_operating_system_cpename (hostnamedHostname1 *object);
255void hostnamed_hostname1_set_operating_system_cpename (hostnamedHostname1 *object, const gchar *value);
3d53b501 256
5047f6bf 257
258/* ---- */
259
a06e63a1 260#define HOSTNAMED_TYPE_HOSTNAME1_PROXY (hostnamed_hostname1_proxy_get_type ())
261#define HOSTNAMED_HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), HOSTNAMED_TYPE_HOSTNAME1_PROXY, hostnamedHostname1Proxy))
262#define HOSTNAMED_HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), HOSTNAMED_TYPE_HOSTNAME1_PROXY, hostnamedHostname1ProxyClass))
263#define HOSTNAMED_HOSTNAME1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), HOSTNAMED_TYPE_HOSTNAME1_PROXY, hostnamedHostname1ProxyClass))
264#define HOSTNAMED_IS_HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), HOSTNAMED_TYPE_HOSTNAME1_PROXY))
265#define HOSTNAMED_IS_HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), HOSTNAMED_TYPE_HOSTNAME1_PROXY))
5047f6bf 266
a06e63a1 267typedef struct _hostnamedHostname1Proxy hostnamedHostname1Proxy;
268typedef struct _hostnamedHostname1ProxyClass hostnamedHostname1ProxyClass;
269typedef struct _hostnamedHostname1ProxyPrivate hostnamedHostname1ProxyPrivate;
5047f6bf 270
a06e63a1 271struct _hostnamedHostname1Proxy
5047f6bf 272{
273 /*< private >*/
274 GDBusProxy parent_instance;
a06e63a1 275 hostnamedHostname1ProxyPrivate *priv;
5047f6bf 276};
277
a06e63a1 278struct _hostnamedHostname1ProxyClass
5047f6bf 279{
280 GDBusProxyClass parent_class;
281};
282
a06e63a1 283GType hostnamed_hostname1_proxy_get_type (void) G_GNUC_CONST;
5047f6bf 284
a06e63a1 285void hostnamed_hostname1_proxy_new (
5047f6bf 286 GDBusConnection *connection,
287 GDBusProxyFlags flags,
288 const gchar *name,
289 const gchar *object_path,
290 GCancellable *cancellable,
291 GAsyncReadyCallback callback,
292 gpointer user_data);
a06e63a1 293hostnamedHostname1 *hostnamed_hostname1_proxy_new_finish (
5047f6bf 294 GAsyncResult *res,
295 GError **error);
a06e63a1 296hostnamedHostname1 *hostnamed_hostname1_proxy_new_sync (
5047f6bf 297 GDBusConnection *connection,
298 GDBusProxyFlags flags,
299 const gchar *name,
300 const gchar *object_path,
301 GCancellable *cancellable,
302 GError **error);
303
a06e63a1 304void hostnamed_hostname1_proxy_new_for_bus (
5047f6bf 305 GBusType bus_type,
306 GDBusProxyFlags flags,
307 const gchar *name,
308 const gchar *object_path,
309 GCancellable *cancellable,
310 GAsyncReadyCallback callback,
311 gpointer user_data);
a06e63a1 312hostnamedHostname1 *hostnamed_hostname1_proxy_new_for_bus_finish (
5047f6bf 313 GAsyncResult *res,
314 GError **error);
a06e63a1 315hostnamedHostname1 *hostnamed_hostname1_proxy_new_for_bus_sync (
5047f6bf 316 GBusType bus_type,
317 GDBusProxyFlags flags,
318 const gchar *name,
319 const gchar *object_path,
320 GCancellable *cancellable,
321 GError **error);
322
323
324/* ---- */
325
a06e63a1 326#define HOSTNAMED_TYPE_HOSTNAME1_SKELETON (hostnamed_hostname1_skeleton_get_type ())
327#define HOSTNAMED_HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), HOSTNAMED_TYPE_HOSTNAME1_SKELETON, hostnamedHostname1Skeleton))
328#define HOSTNAMED_HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), HOSTNAMED_TYPE_HOSTNAME1_SKELETON, hostnamedHostname1SkeletonClass))
329#define HOSTNAMED_HOSTNAME1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), HOSTNAMED_TYPE_HOSTNAME1_SKELETON, hostnamedHostname1SkeletonClass))
330#define HOSTNAMED_IS_HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), HOSTNAMED_TYPE_HOSTNAME1_SKELETON))
331#define HOSTNAMED_IS_HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), HOSTNAMED_TYPE_HOSTNAME1_SKELETON))
5047f6bf 332
a06e63a1 333typedef struct _hostnamedHostname1Skeleton hostnamedHostname1Skeleton;
334typedef struct _hostnamedHostname1SkeletonClass hostnamedHostname1SkeletonClass;
335typedef struct _hostnamedHostname1SkeletonPrivate hostnamedHostname1SkeletonPrivate;
5047f6bf 336
a06e63a1 337struct _hostnamedHostname1Skeleton
5047f6bf 338{
339 /*< private >*/
340 GDBusInterfaceSkeleton parent_instance;
a06e63a1 341 hostnamedHostname1SkeletonPrivate *priv;
5047f6bf 342};
343
a06e63a1 344struct _hostnamedHostname1SkeletonClass
5047f6bf 345{
346 GDBusInterfaceSkeletonClass parent_class;
347};
348
a06e63a1 349GType hostnamed_hostname1_skeleton_get_type (void) G_GNUC_CONST;
5047f6bf 350
a06e63a1 351hostnamedHostname1 *hostnamed_hostname1_skeleton_new (void);
5047f6bf 352
353
354G_END_DECLS
355
356#endif /* __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__ */