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