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