Branch data Line data Source code
1 : : // SPDX-License-Identifier: GPL-3.0-or-later
2 : : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
3 : :
4 : : #pragma once
5 : :
6 : : #if !defined (VALENT_INSIDE) && !defined (VALENT_COMPILATION)
7 : : # error "Only <valent.h> can be included directly."
8 : : #endif
9 : :
10 : : #include <adwaita.h>
11 : :
12 : : #include "../core/valent-context.h"
13 : :
14 : : G_BEGIN_DECLS
15 : :
16 : : #define VALENT_TYPE_DEVICE_PREFERENCES_GROUP (valent_device_preferences_group_get_type ())
17 : :
18 : : VALENT_AVAILABLE_IN_1_0
19 [ + - + - : 27 : G_DECLARE_DERIVABLE_TYPE (ValentDevicePreferencesGroup, valent_device_preferences_group, VALENT, DEVICE_PREFERENCES_GROUP, AdwPreferencesGroup)
+ - ]
20 : :
21 : : struct _ValentDevicePreferencesGroupClass
22 : : {
23 : : AdwPreferencesGroupClass parent_class;
24 : :
25 : : /*< private >*/
26 : : gpointer padding[8];
27 : : };
28 : :
29 : : VALENT_AVAILABLE_IN_1_0
30 : : ValentContext * valent_device_preferences_group_get_context (ValentDevicePreferencesGroup *group);
31 : : VALENT_AVAILABLE_IN_1_0
32 : : GSettings * valent_device_preferences_group_get_settings (ValentDevicePreferencesGroup *group);
33 : :
34 : : G_END_DECLS
35 : :
|