refactor makefile with env variables
[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
7539ecc4 7#ifndef __HOSTNAMED_GEN_H__
8#define __HOSTNAMED_GEN_H__
5047f6bf 9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.freedesktop.hostname1 */
17
7539ecc4 18#define TYPE_HOSTNAME1 (hostname1_get_type ())
19#define HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1, Hostname1))
20#define IS_HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1))
21#define HOSTNAME1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_HOSTNAME1, Hostname1Iface))
5047f6bf 22
7539ecc4 23struct _Hostname1;
24typedef struct _Hostname1 Hostname1;
25typedef struct _Hostname1Iface Hostname1Iface;
5047f6bf 26
7539ecc4 27struct _Hostname1Iface
5047f6bf 28{
29 GTypeInterface parent_iface;
30
31
3d53b501 32 gboolean (*handle_set_chassis) (
7539ecc4 33 Hostname1 *object,
3d53b501 34 GDBusMethodInvocation *invocation,
35 const gchar *arg_unnamed_arg0,
36 gboolean arg_unnamed_arg1);
37
5047f6bf 38 gboolean (*handle_set_hostname) (
7539ecc4 39 Hostname1 *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) (
7539ecc4 45 Hostname1 *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) (
7539ecc4 51 Hostname1 *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) (
7539ecc4 57 Hostname1 *object,
5047f6bf 58 GDBusMethodInvocation *invocation,
3d53b501 59 const gchar *arg_unnamed_arg0,
60 gboolean arg_unnamed_arg1);
61
7539ecc4 62 const gchar * (*get_chassis) (Hostname1 *object);
5047f6bf 63
7539ecc4 64 const gchar * (*get_hostname) (Hostname1 *object);
5047f6bf 65
7539ecc4 66 const gchar * (*get_icon_name) (Hostname1 *object);
5047f6bf 67
7539ecc4 68 const gchar * (*get_kernel_name) (Hostname1 *object);
3d53b501 69
7539ecc4 70 const gchar * (*get_kernel_release) (Hostname1 *object);
3d53b501 71
7539ecc4 72 const gchar * (*get_kernel_version) (Hostname1 *object);
3d53b501 73
7539ecc4 74 const gchar * (*get_operating_system_cpename) (Hostname1 *object);
3d53b501 75
7539ecc4 76 const gchar * (*get_operating_system_pretty_name) (Hostname1 *object);
3d53b501 77
7539ecc4 78 const gchar * (*get_pretty_hostname) (Hostname1 *object);
5047f6bf 79
7539ecc4 80 const gchar * (*get_static_hostname) (Hostname1 *object);
5047f6bf 81
82};
83
7539ecc4 84GType hostname1_get_type (void) G_GNUC_CONST;
5047f6bf 85
7539ecc4 86GDBusInterfaceInfo *hostname1_interface_info (void);
87guint hostname1_override_properties (GObjectClass *klass, guint property_id_begin);
5047f6bf 88
89
90/* D-Bus method call completion functions: */
7539ecc4 91void hostname1_complete_set_hostname (
92 Hostname1 *object,
5047f6bf 93 GDBusMethodInvocation *invocation);
94
7539ecc4 95void hostname1_complete_set_static_hostname (
96 Hostname1 *object,
5047f6bf 97 GDBusMethodInvocation *invocation);
98
7539ecc4 99void hostname1_complete_set_pretty_hostname (
100 Hostname1 *object,
5047f6bf 101 GDBusMethodInvocation *invocation);
102
7539ecc4 103void hostname1_complete_set_icon_name (
104 Hostname1 *object,
5047f6bf 105 GDBusMethodInvocation *invocation);
106
7539ecc4 107void hostname1_complete_set_chassis (
108 Hostname1 *object,
3d53b501 109 GDBusMethodInvocation *invocation);
110
5047f6bf 111
112
113/* D-Bus method calls: */
7539ecc4 114void hostname1_call_set_hostname (
115 Hostname1 *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
7539ecc4 122gboolean hostname1_call_set_hostname_finish (
123 Hostname1 *proxy,
5047f6bf 124 GAsyncResult *res,
125 GError **error);
126
7539ecc4 127gboolean hostname1_call_set_hostname_sync (
128 Hostname1 *proxy,
3d53b501 129 const gchar *arg_unnamed_arg0,
130 gboolean arg_unnamed_arg1,
5047f6bf 131 GCancellable *cancellable,
132 GError **error);
133
7539ecc4 134void hostname1_call_set_static_hostname (
135 Hostname1 *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
7539ecc4 142gboolean hostname1_call_set_static_hostname_finish (
143 Hostname1 *proxy,
5047f6bf 144 GAsyncResult *res,
145 GError **error);
146
7539ecc4 147gboolean hostname1_call_set_static_hostname_sync (
148 Hostname1 *proxy,
3d53b501 149 const gchar *arg_unnamed_arg0,
150 gboolean arg_unnamed_arg1,
5047f6bf 151 GCancellable *cancellable,
152 GError **error);
153
7539ecc4 154void hostname1_call_set_pretty_hostname (
155 Hostname1 *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
7539ecc4 162gboolean hostname1_call_set_pretty_hostname_finish (
163 Hostname1 *proxy,
5047f6bf 164 GAsyncResult *res,
165 GError **error);
166
7539ecc4 167gboolean hostname1_call_set_pretty_hostname_sync (
168 Hostname1 *proxy,
3d53b501 169 const gchar *arg_unnamed_arg0,
170 gboolean arg_unnamed_arg1,
5047f6bf 171 GCancellable *cancellable,
172 GError **error);
173
7539ecc4 174void hostname1_call_set_icon_name (
175 Hostname1 *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
7539ecc4 182gboolean hostname1_call_set_icon_name_finish (
183 Hostname1 *proxy,
5047f6bf 184 GAsyncResult *res,
185 GError **error);
186
7539ecc4 187gboolean hostname1_call_set_icon_name_sync (
188 Hostname1 *proxy,
3d53b501 189 const gchar *arg_unnamed_arg0,
190 gboolean arg_unnamed_arg1,
191 GCancellable *cancellable,
192 GError **error);
193
7539ecc4 194void hostname1_call_set_chassis (
195 Hostname1 *proxy,
3d53b501 196 const gchar *arg_unnamed_arg0,
197 gboolean arg_unnamed_arg1,
198 GCancellable *cancellable,
199 GAsyncReadyCallback callback,
200 gpointer user_data);
201
7539ecc4 202gboolean hostname1_call_set_chassis_finish (
203 Hostname1 *proxy,
3d53b501 204 GAsyncResult *res,
205 GError **error);
206
7539ecc4 207gboolean hostname1_call_set_chassis_sync (
208 Hostname1 *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: */
7539ecc4 217const gchar *hostname1_get_hostname (Hostname1 *object);
218gchar *hostname1_dup_hostname (Hostname1 *object);
219void hostname1_set_hostname (Hostname1 *object, const gchar *value);
5047f6bf 220
7539ecc4 221const gchar *hostname1_get_static_hostname (Hostname1 *object);
222gchar *hostname1_dup_static_hostname (Hostname1 *object);
223void hostname1_set_static_hostname (Hostname1 *object, const gchar *value);
5047f6bf 224
7539ecc4 225const gchar *hostname1_get_pretty_hostname (Hostname1 *object);
226gchar *hostname1_dup_pretty_hostname (Hostname1 *object);
227void hostname1_set_pretty_hostname (Hostname1 *object, const gchar *value);
5047f6bf 228
7539ecc4 229const gchar *hostname1_get_icon_name (Hostname1 *object);
230gchar *hostname1_dup_icon_name (Hostname1 *object);
231void hostname1_set_icon_name (Hostname1 *object, const gchar *value);
5047f6bf 232
7539ecc4 233const gchar *hostname1_get_chassis (Hostname1 *object);
234gchar *hostname1_dup_chassis (Hostname1 *object);
235void hostname1_set_chassis (Hostname1 *object, const gchar *value);
3d53b501 236
7539ecc4 237const gchar *hostname1_get_kernel_name (Hostname1 *object);
238gchar *hostname1_dup_kernel_name (Hostname1 *object);
239void hostname1_set_kernel_name (Hostname1 *object, const gchar *value);
3d53b501 240
7539ecc4 241const gchar *hostname1_get_kernel_release (Hostname1 *object);
242gchar *hostname1_dup_kernel_release (Hostname1 *object);
243void hostname1_set_kernel_release (Hostname1 *object, const gchar *value);
3d53b501 244
7539ecc4 245const gchar *hostname1_get_kernel_version (Hostname1 *object);
246gchar *hostname1_dup_kernel_version (Hostname1 *object);
247void hostname1_set_kernel_version (Hostname1 *object, const gchar *value);
3d53b501 248
7539ecc4 249const gchar *hostname1_get_operating_system_pretty_name (Hostname1 *object);
250gchar *hostname1_dup_operating_system_pretty_name (Hostname1 *object);
251void hostname1_set_operating_system_pretty_name (Hostname1 *object, const gchar *value);
3d53b501 252
7539ecc4 253const gchar *hostname1_get_operating_system_cpename (Hostname1 *object);
254gchar *hostname1_dup_operating_system_cpename (Hostname1 *object);
255void hostname1_set_operating_system_cpename (Hostname1 *object, const gchar *value);
3d53b501 256
5047f6bf 257
258/* ---- */
259
7539ecc4 260#define TYPE_HOSTNAME1_PROXY (hostname1_proxy_get_type ())
261#define HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1_PROXY, Hostname1Proxy))
262#define HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOSTNAME1_PROXY, Hostname1ProxyClass))
263#define HOSTNAME1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOSTNAME1_PROXY, Hostname1ProxyClass))
264#define IS_HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1_PROXY))
265#define IS_HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOSTNAME1_PROXY))
5047f6bf 266
7539ecc4 267typedef struct _Hostname1Proxy Hostname1Proxy;
268typedef struct _Hostname1ProxyClass Hostname1ProxyClass;
269typedef struct _Hostname1ProxyPrivate Hostname1ProxyPrivate;
5047f6bf 270
7539ecc4 271struct _Hostname1Proxy
5047f6bf 272{
273 /*< private >*/
274 GDBusProxy parent_instance;
7539ecc4 275 Hostname1ProxyPrivate *priv;
5047f6bf 276};
277
7539ecc4 278struct _Hostname1ProxyClass
5047f6bf 279{
280 GDBusProxyClass parent_class;
281};
282
7539ecc4 283GType hostname1_proxy_get_type (void) G_GNUC_CONST;
5047f6bf 284
7539ecc4 285void 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);
7539ecc4 293Hostname1 *hostname1_proxy_new_finish (
5047f6bf 294 GAsyncResult *res,
295 GError **error);
7539ecc4 296Hostname1 *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
7539ecc4 304void 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);
7539ecc4 312Hostname1 *hostname1_proxy_new_for_bus_finish (
5047f6bf 313 GAsyncResult *res,
314 GError **error);
7539ecc4 315Hostname1 *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
7539ecc4 326#define TYPE_HOSTNAME1_SKELETON (hostname1_skeleton_get_type ())
327#define HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1_SKELETON, Hostname1Skeleton))
328#define HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOSTNAME1_SKELETON, Hostname1SkeletonClass))
329#define HOSTNAME1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOSTNAME1_SKELETON, Hostname1SkeletonClass))
330#define IS_HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1_SKELETON))
331#define IS_HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOSTNAME1_SKELETON))
5047f6bf 332
7539ecc4 333typedef struct _Hostname1Skeleton Hostname1Skeleton;
334typedef struct _Hostname1SkeletonClass Hostname1SkeletonClass;
335typedef struct _Hostname1SkeletonPrivate Hostname1SkeletonPrivate;
5047f6bf 336
7539ecc4 337struct _Hostname1Skeleton
5047f6bf 338{
339 /*< private >*/
340 GDBusInterfaceSkeleton parent_instance;
7539ecc4 341 Hostname1SkeletonPrivate *priv;
5047f6bf 342};
343
7539ecc4 344struct _Hostname1SkeletonClass
5047f6bf 345{
346 GDBusInterfaceSkeletonClass parent_class;
347};
348
7539ecc4 349GType hostname1_skeleton_get_type (void) G_GNUC_CONST;
5047f6bf 350
7539ecc4 351Hostname1 *hostname1_skeleton_new (void);
5047f6bf 352
353
354G_END_DECLS
355
7539ecc4 356#endif /* __HOSTNAMED_GEN_H__ */