Merging upstream version 0.7.0 (Closes: #493243, #510888, #567617, #699414, #709777...
[debian/lxpanel.git] / plugins / netstatus / netstatus-enums.c
1
2 /* Generated data (by glib-mkenums) */
3
4 #include <glib-object.h>
5 #include "netstatus-enums.h"
6
7
8
9 /* enumerations from "./netstatus-util.h" */
10 #include "./netstatus-util.h"
11
12 static const GEnumValue _netstatus_state_values[] = {
13 { NETSTATUS_STATE_DISCONNECTED, "NETSTATUS_STATE_DISCONNECTED", "disconnected" },
14 { NETSTATUS_STATE_IDLE, "NETSTATUS_STATE_IDLE", "idle" },
15 { NETSTATUS_STATE_TX, "NETSTATUS_STATE_TX", "tx" },
16 { NETSTATUS_STATE_RX, "NETSTATUS_STATE_RX", "rx" },
17 { NETSTATUS_STATE_TX_RX, "NETSTATUS_STATE_TX_RX", "tx-rx" },
18 { NETSTATUS_STATE_ERROR, "NETSTATUS_STATE_ERROR", "error" },
19 { NETSTATUS_STATE_LAST, "NETSTATUS_STATE_LAST", "last" },
20 { 0, NULL, NULL }
21 };
22
23 GType
24 netstatus_state_get_type (void)
25 {
26 static GType type = 0;
27
28 if (!type)
29 type = g_enum_register_static ("NetstatusState", _netstatus_state_values);
30
31 return type;
32 }
33
34
35 static const GEnumValue _netstatus_error_values[] = {
36 { NETSTATUS_ERROR_NONE, "NETSTATUS_ERROR_NONE", "none" },
37 { NETSTATUS_ERROR_ICONS, "NETSTATUS_ERROR_ICONS", "icons" },
38 { NETSTATUS_ERROR_SOCKET, "NETSTATUS_ERROR_SOCKET", "socket" },
39 { NETSTATUS_ERROR_STATISTICS, "NETSTATUS_ERROR_STATISTICS", "statistics" },
40 { NETSTATUS_ERROR_IOCTL_IFFLAGS, "NETSTATUS_ERROR_IOCTL_IFFLAGS", "ioctl-ifflags" },
41 { NETSTATUS_ERROR_IOCTL_IFCONF, "NETSTATUS_ERROR_IOCTL_IFCONF", "ioctl-ifconf" },
42 { NETSTATUS_ERROR_NO_INTERFACES, "NETSTATUS_ERROR_NO_INTERFACES", "no-interfaces" },
43 { NETSTATUS_ERROR_WIRELESS_DETAILS, "NETSTATUS_ERROR_WIRELESS_DETAILS", "wireless-details" },
44 { 0, NULL, NULL }
45 };
46
47 GType
48 netstatus_error_get_type (void)
49 {
50 static GType type = 0;
51
52 if (!type)
53 type = g_enum_register_static ("NetstatusError", _netstatus_error_values);
54
55 return type;
56 }
57
58
59 static const GEnumValue _netstatus_debug_flags_values[] = {
60 { NETSTATUS_DEBUG_NONE, "NETSTATUS_DEBUG_NONE", "none" },
61 { NETSTATUS_DEBUG_POLLING, "NETSTATUS_DEBUG_POLLING", "polling" },
62 { 0, NULL, NULL }
63 };
64
65 GType
66 netstatus_debug_flags_get_type (void)
67 {
68 static GType type = 0;
69
70 if (!type)
71 type = g_enum_register_static ("NetstatusDebugFlags", _netstatus_debug_flags_values);
72
73 return type;
74 }
75
76
77
78 /* Generated data ends here */
79