Line |
Branch |
Exec |
Source |
1 |
|
|
|
2 |
|
|
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ |
3 |
|
|
|
4 |
|
|
#include "gsd-device-manager.h" |
5 |
|
|
#include "gsd-common-enums.h" |
6 |
|
|
|
7 |
|
|
/* enumerations from "/builds/GNOME/gnome-control-center/_build/../panels/common/gsd-device-manager.h" */ |
8 |
|
|
GType |
9 |
|
✗ |
gsd_device_type_get_type (void) |
10 |
|
|
{ |
11 |
|
|
static GType etype = 0; |
12 |
|
✗ |
if (etype == 0) { |
13 |
|
|
static const GFlagsValue values[] = { |
14 |
|
|
{ GSD_DEVICE_TYPE_MOUSE, "GSD_DEVICE_TYPE_MOUSE", "mouse" }, |
15 |
|
|
{ GSD_DEVICE_TYPE_KEYBOARD, "GSD_DEVICE_TYPE_KEYBOARD", "keyboard" }, |
16 |
|
|
{ GSD_DEVICE_TYPE_TOUCHPAD, "GSD_DEVICE_TYPE_TOUCHPAD", "touchpad" }, |
17 |
|
|
{ GSD_DEVICE_TYPE_TABLET, "GSD_DEVICE_TYPE_TABLET", "tablet" }, |
18 |
|
|
{ GSD_DEVICE_TYPE_TOUCHSCREEN, "GSD_DEVICE_TYPE_TOUCHSCREEN", "touchscreen" }, |
19 |
|
|
{ GSD_DEVICE_TYPE_PAD, "GSD_DEVICE_TYPE_PAD", "pad" }, |
20 |
|
|
{ 0, NULL, NULL } |
21 |
|
|
}; |
22 |
|
✗ |
etype = g_flags_register_static ("GsdDeviceType", values); |
23 |
|
|
} |
24 |
|
✗ |
return etype; |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
/* Generated data ends here */ |
28 |
|
|
|
29 |
|
|
|