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 "cc-user-accounts-enum-types.h" |
5 |
|
|
#include "cc-fingerprint-manager.h" |
6 |
|
|
|
7 |
|
|
#define C_ENUM(v) ((gint) v) |
8 |
|
|
#define C_FLAGS(v) ((guint) v) |
9 |
|
|
|
10 |
|
|
/* enumerations from "cc-fingerprint-manager.h" */ |
11 |
|
|
|
12 |
|
|
GType |
13 |
|
✗ |
cc_fingerprint_state_get_type (void) |
14 |
|
|
{ |
15 |
|
|
static gsize gtype_id = 0; |
16 |
|
|
static const GEnumValue values[] = { |
17 |
|
|
{ C_ENUM(CC_FINGERPRINT_STATE_NONE), "CC_FINGERPRINT_STATE_NONE", "none" }, |
18 |
|
|
{ C_ENUM(CC_FINGERPRINT_STATE_UPDATING), "CC_FINGERPRINT_STATE_UPDATING", "updating" }, |
19 |
|
|
{ C_ENUM(CC_FINGERPRINT_STATE_ENABLED), "CC_FINGERPRINT_STATE_ENABLED", "enabled" }, |
20 |
|
|
{ C_ENUM(CC_FINGERPRINT_STATE_DISABLED), "CC_FINGERPRINT_STATE_DISABLED", "disabled" }, |
21 |
|
|
{ 0, NULL, NULL } |
22 |
|
|
}; |
23 |
|
✗ |
if (g_once_init_enter (>ype_id)) { |
24 |
|
✗ |
GType new_type = g_enum_register_static (g_intern_static_string ("CcFingerprintState"), values); |
25 |
|
✗ |
g_once_init_leave (>ype_id, new_type); |
26 |
|
|
} |
27 |
|
✗ |
return (GType) gtype_id; |
28 |
|
|
} |
29 |
|
|
|
30 |
|
|
/* Generated data ends here */ |
31 |
|
|
|
32 |
|
|
|