refactor makefile with env variables
[systembsd.git] / src / interfaces / localed / localed-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 __LOCALED_GEN_H__
8#define __LOCALED_GEN_H__
5047f6bf 9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.freedesktop.locale1 */
17
7539ecc4 18#define TYPE_LOCALE1 (locale1_get_type ())
19#define LOCALE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LOCALE1, Locale1))
20#define IS_LOCALE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LOCALE1))
21#define LOCALE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_LOCALE1, Locale1Iface))
5047f6bf 22
7539ecc4 23struct _Locale1;
24typedef struct _Locale1 Locale1;
25typedef struct _Locale1Iface Locale1Iface;
5047f6bf 26
7539ecc4 27struct _Locale1Iface
5047f6bf 28{
29 GTypeInterface parent_iface;
30
31
32 gboolean (*handle_set_locale) (
7539ecc4 33 Locale1 *object,
5047f6bf 34 GDBusMethodInvocation *invocation,
1aa981f7 35 const gchar *const *arg_unnamed_arg0,
36 gboolean arg_unnamed_arg1);
5047f6bf 37
38 gboolean (*handle_set_vconsole_keyboard) (
7539ecc4 39 Locale1 *object,
5047f6bf 40 GDBusMethodInvocation *invocation,
1aa981f7 41 const gchar *arg_unnamed_arg0,
42 const gchar *arg_unnamed_arg1,
43 gboolean arg_unnamed_arg2,
44 gboolean arg_unnamed_arg3);
5047f6bf 45
46 gboolean (*handle_set_x11_keyboard) (
7539ecc4 47 Locale1 *object,
5047f6bf 48 GDBusMethodInvocation *invocation,
1aa981f7 49 const gchar *arg_unnamed_arg0,
50 const gchar *arg_unnamed_arg1,
51 const gchar *arg_unnamed_arg2,
52 const gchar *arg_unnamed_arg3,
53 gboolean arg_unnamed_arg4,
54 gboolean arg_unnamed_arg5);
5047f6bf 55
7539ecc4 56 const gchar *const * (*get_locale) (Locale1 *object);
5047f6bf 57
7539ecc4 58 const gchar * (*get_vconsole_keymap) (Locale1 *object);
5047f6bf 59
7539ecc4 60 const gchar * (*get_vconsole_keymap_toggle) (Locale1 *object);
5047f6bf 61
7539ecc4 62 const gchar * (*get_x11_layout) (Locale1 *object);
5047f6bf 63
7539ecc4 64 const gchar * (*get_x11_model) (Locale1 *object);
5047f6bf 65
7539ecc4 66 const gchar * (*get_x11_options) (Locale1 *object);
5047f6bf 67
7539ecc4 68 const gchar * (*get_x11_variant) (Locale1 *object);
5047f6bf 69
70};
71
7539ecc4 72GType locale1_get_type (void) G_GNUC_CONST;
5047f6bf 73
7539ecc4 74GDBusInterfaceInfo *locale1_interface_info (void);
75guint locale1_override_properties (GObjectClass *klass, guint property_id_begin);
5047f6bf 76
77
78/* D-Bus method call completion functions: */
7539ecc4 79void locale1_complete_set_locale (
80 Locale1 *object,
5047f6bf 81 GDBusMethodInvocation *invocation);
82
7539ecc4 83void locale1_complete_set_vconsole_keyboard (
84 Locale1 *object,
5047f6bf 85 GDBusMethodInvocation *invocation);
86
7539ecc4 87void locale1_complete_set_x11_keyboard (
88 Locale1 *object,
5047f6bf 89 GDBusMethodInvocation *invocation);
90
91
92
93/* D-Bus method calls: */
7539ecc4 94void locale1_call_set_locale (
95 Locale1 *proxy,
1aa981f7 96 const gchar *const *arg_unnamed_arg0,
97 gboolean arg_unnamed_arg1,
5047f6bf 98 GCancellable *cancellable,
99 GAsyncReadyCallback callback,
100 gpointer user_data);
101
7539ecc4 102gboolean locale1_call_set_locale_finish (
103 Locale1 *proxy,
5047f6bf 104 GAsyncResult *res,
105 GError **error);
106
7539ecc4 107gboolean locale1_call_set_locale_sync (
108 Locale1 *proxy,
1aa981f7 109 const gchar *const *arg_unnamed_arg0,
110 gboolean arg_unnamed_arg1,
5047f6bf 111 GCancellable *cancellable,
112 GError **error);
113
7539ecc4 114void locale1_call_set_vconsole_keyboard (
115 Locale1 *proxy,
1aa981f7 116 const gchar *arg_unnamed_arg0,
117 const gchar *arg_unnamed_arg1,
118 gboolean arg_unnamed_arg2,
119 gboolean arg_unnamed_arg3,
5047f6bf 120 GCancellable *cancellable,
121 GAsyncReadyCallback callback,
122 gpointer user_data);
123
7539ecc4 124gboolean locale1_call_set_vconsole_keyboard_finish (
125 Locale1 *proxy,
5047f6bf 126 GAsyncResult *res,
127 GError **error);
128
7539ecc4 129gboolean locale1_call_set_vconsole_keyboard_sync (
130 Locale1 *proxy,
1aa981f7 131 const gchar *arg_unnamed_arg0,
132 const gchar *arg_unnamed_arg1,
133 gboolean arg_unnamed_arg2,
134 gboolean arg_unnamed_arg3,
5047f6bf 135 GCancellable *cancellable,
136 GError **error);
137
7539ecc4 138void locale1_call_set_x11_keyboard (
139 Locale1 *proxy,
1aa981f7 140 const gchar *arg_unnamed_arg0,
141 const gchar *arg_unnamed_arg1,
142 const gchar *arg_unnamed_arg2,
143 const gchar *arg_unnamed_arg3,
144 gboolean arg_unnamed_arg4,
145 gboolean arg_unnamed_arg5,
5047f6bf 146 GCancellable *cancellable,
147 GAsyncReadyCallback callback,
148 gpointer user_data);
149
7539ecc4 150gboolean locale1_call_set_x11_keyboard_finish (
151 Locale1 *proxy,
5047f6bf 152 GAsyncResult *res,
153 GError **error);
154
7539ecc4 155gboolean locale1_call_set_x11_keyboard_sync (
156 Locale1 *proxy,
1aa981f7 157 const gchar *arg_unnamed_arg0,
158 const gchar *arg_unnamed_arg1,
159 const gchar *arg_unnamed_arg2,
160 const gchar *arg_unnamed_arg3,
161 gboolean arg_unnamed_arg4,
162 gboolean arg_unnamed_arg5,
5047f6bf 163 GCancellable *cancellable,
164 GError **error);
165
166
167
168/* D-Bus property accessors: */
7539ecc4 169const gchar *const *locale1_get_locale (Locale1 *object);
170gchar **locale1_dup_locale (Locale1 *object);
171void locale1_set_locale (Locale1 *object, const gchar *const *value);
5047f6bf 172
7539ecc4 173const gchar *locale1_get_x11_layout (Locale1 *object);
174gchar *locale1_dup_x11_layout (Locale1 *object);
175void locale1_set_x11_layout (Locale1 *object, const gchar *value);
5047f6bf 176
7539ecc4 177const gchar *locale1_get_x11_model (Locale1 *object);
178gchar *locale1_dup_x11_model (Locale1 *object);
179void locale1_set_x11_model (Locale1 *object, const gchar *value);
5047f6bf 180
7539ecc4 181const gchar *locale1_get_x11_variant (Locale1 *object);
182gchar *locale1_dup_x11_variant (Locale1 *object);
183void locale1_set_x11_variant (Locale1 *object, const gchar *value);
5047f6bf 184
7539ecc4 185const gchar *locale1_get_x11_options (Locale1 *object);
186gchar *locale1_dup_x11_options (Locale1 *object);
187void locale1_set_x11_options (Locale1 *object, const gchar *value);
5047f6bf 188
7539ecc4 189const gchar *locale1_get_vconsole_keymap (Locale1 *object);
190gchar *locale1_dup_vconsole_keymap (Locale1 *object);
191void locale1_set_vconsole_keymap (Locale1 *object, const gchar *value);
5047f6bf 192
7539ecc4 193const gchar *locale1_get_vconsole_keymap_toggle (Locale1 *object);
194gchar *locale1_dup_vconsole_keymap_toggle (Locale1 *object);
195void locale1_set_vconsole_keymap_toggle (Locale1 *object, const gchar *value);
5047f6bf 196
197
198/* ---- */
199
7539ecc4 200#define TYPE_LOCALE1_PROXY (locale1_proxy_get_type ())
201#define LOCALE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LOCALE1_PROXY, Locale1Proxy))
202#define LOCALE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LOCALE1_PROXY, Locale1ProxyClass))
203#define LOCALE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LOCALE1_PROXY, Locale1ProxyClass))
204#define IS_LOCALE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LOCALE1_PROXY))
205#define IS_LOCALE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LOCALE1_PROXY))
5047f6bf 206
7539ecc4 207typedef struct _Locale1Proxy Locale1Proxy;
208typedef struct _Locale1ProxyClass Locale1ProxyClass;
209typedef struct _Locale1ProxyPrivate Locale1ProxyPrivate;
5047f6bf 210
7539ecc4 211struct _Locale1Proxy
5047f6bf 212{
213 /*< private >*/
214 GDBusProxy parent_instance;
7539ecc4 215 Locale1ProxyPrivate *priv;
5047f6bf 216};
217
7539ecc4 218struct _Locale1ProxyClass
5047f6bf 219{
220 GDBusProxyClass parent_class;
221};
222
7539ecc4 223GType locale1_proxy_get_type (void) G_GNUC_CONST;
5047f6bf 224
7539ecc4 225void locale1_proxy_new (
5047f6bf 226 GDBusConnection *connection,
227 GDBusProxyFlags flags,
228 const gchar *name,
229 const gchar *object_path,
230 GCancellable *cancellable,
231 GAsyncReadyCallback callback,
232 gpointer user_data);
7539ecc4 233Locale1 *locale1_proxy_new_finish (
5047f6bf 234 GAsyncResult *res,
235 GError **error);
7539ecc4 236Locale1 *locale1_proxy_new_sync (
5047f6bf 237 GDBusConnection *connection,
238 GDBusProxyFlags flags,
239 const gchar *name,
240 const gchar *object_path,
241 GCancellable *cancellable,
242 GError **error);
243
7539ecc4 244void locale1_proxy_new_for_bus (
5047f6bf 245 GBusType bus_type,
246 GDBusProxyFlags flags,
247 const gchar *name,
248 const gchar *object_path,
249 GCancellable *cancellable,
250 GAsyncReadyCallback callback,
251 gpointer user_data);
7539ecc4 252Locale1 *locale1_proxy_new_for_bus_finish (
5047f6bf 253 GAsyncResult *res,
254 GError **error);
7539ecc4 255Locale1 *locale1_proxy_new_for_bus_sync (
5047f6bf 256 GBusType bus_type,
257 GDBusProxyFlags flags,
258 const gchar *name,
259 const gchar *object_path,
260 GCancellable *cancellable,
261 GError **error);
262
263
264/* ---- */
265
7539ecc4 266#define TYPE_LOCALE1_SKELETON (locale1_skeleton_get_type ())
267#define LOCALE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LOCALE1_SKELETON, Locale1Skeleton))
268#define LOCALE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LOCALE1_SKELETON, Locale1SkeletonClass))
269#define LOCALE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LOCALE1_SKELETON, Locale1SkeletonClass))
270#define IS_LOCALE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LOCALE1_SKELETON))
271#define IS_LOCALE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LOCALE1_SKELETON))
5047f6bf 272
7539ecc4 273typedef struct _Locale1Skeleton Locale1Skeleton;
274typedef struct _Locale1SkeletonClass Locale1SkeletonClass;
275typedef struct _Locale1SkeletonPrivate Locale1SkeletonPrivate;
5047f6bf 276
7539ecc4 277struct _Locale1Skeleton
5047f6bf 278{
279 /*< private >*/
280 GDBusInterfaceSkeleton parent_instance;
7539ecc4 281 Locale1SkeletonPrivate *priv;
5047f6bf 282};
283
7539ecc4 284struct _Locale1SkeletonClass
5047f6bf 285{
286 GDBusInterfaceSkeletonClass parent_class;
287};
288
7539ecc4 289GType locale1_skeleton_get_type (void) G_GNUC_CONST;
5047f6bf 290
7539ecc4 291Locale1 *locale1_skeleton_new (void);
1aa981f7 292
293
5047f6bf 294G_END_DECLS
295
7539ecc4 296#endif /* __LOCALED_GEN_H__ */