File: gconf-enum-types.c

package info (click to toggle)
gconf 3.2.6-6
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 15,120 kB
  • sloc: ansic: 39,709; sh: 11,189; python: 1,107; makefile: 445; xml: 332
file content (110 lines) | stat: -rw-r--r-- 3,833 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

/* Generated data (by glib-mkenums) */

#include "gconf-client.h"

/* enumerations from "gconf-value.h" */
GType
gconf_value_type_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      { GCONF_VALUE_INVALID, "GCONF_VALUE_INVALID", "invalid" },
      { GCONF_VALUE_STRING, "GCONF_VALUE_STRING", "string" },
      { GCONF_VALUE_INT, "GCONF_VALUE_INT", "int" },
      { GCONF_VALUE_FLOAT, "GCONF_VALUE_FLOAT", "float" },
      { GCONF_VALUE_BOOL, "GCONF_VALUE_BOOL", "bool" },
      { GCONF_VALUE_SCHEMA, "GCONF_VALUE_SCHEMA", "schema" },
      { GCONF_VALUE_LIST, "GCONF_VALUE_LIST", "list" },
      { GCONF_VALUE_PAIR, "GCONF_VALUE_PAIR", "pair" },
      { 0, NULL, NULL }
    };
    etype = g_enum_register_static ("GConfValueType", values);
  }
  return etype;
}

GType
gconf_unset_flags_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GFlagsValue values[] = {
      { GCONF_UNSET_INCLUDING_SCHEMA_NAMES, "GCONF_UNSET_INCLUDING_SCHEMA_NAMES", "names" },
      { 0, NULL, NULL }
    };
    etype = g_flags_register_static ("GConfUnsetFlags", values);
  }
  return etype;
}


/* enumerations from "gconf-error.h" */
GType
gconf_error_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      { GCONF_ERROR_SUCCESS, "GCONF_ERROR_SUCCESS", "success" },
      { GCONF_ERROR_FAILED, "GCONF_ERROR_FAILED", "failed" },
      { GCONF_ERROR_NO_SERVER, "GCONF_ERROR_NO_SERVER", "no-server" },
      { GCONF_ERROR_NO_PERMISSION, "GCONF_ERROR_NO_PERMISSION", "no-permission" },
      { GCONF_ERROR_BAD_ADDRESS, "GCONF_ERROR_BAD_ADDRESS", "bad-address" },
      { GCONF_ERROR_BAD_KEY, "GCONF_ERROR_BAD_KEY", "bad-key" },
      { GCONF_ERROR_PARSE_ERROR, "GCONF_ERROR_PARSE_ERROR", "parse-error" },
      { GCONF_ERROR_CORRUPT, "GCONF_ERROR_CORRUPT", "corrupt" },
      { GCONF_ERROR_TYPE_MISMATCH, "GCONF_ERROR_TYPE_MISMATCH", "type-mismatch" },
      { GCONF_ERROR_IS_DIR, "GCONF_ERROR_IS_DIR", "is-dir" },
      { GCONF_ERROR_IS_KEY, "GCONF_ERROR_IS_KEY", "is-key" },
      { GCONF_ERROR_OVERRIDDEN, "GCONF_ERROR_OVERRIDDEN", "overridden" },
      { GCONF_ERROR_OAF_ERROR, "GCONF_ERROR_OAF_ERROR", "oaf-error" },
      { GCONF_ERROR_LOCAL_ENGINE, "GCONF_ERROR_LOCAL_ENGINE", "local-engine" },
      { GCONF_ERROR_LOCK_FAILED, "GCONF_ERROR_LOCK_FAILED", "lock-failed" },
      { GCONF_ERROR_NO_WRITABLE_DATABASE, "GCONF_ERROR_NO_WRITABLE_DATABASE", "no-writable-database" },
      { GCONF_ERROR_IN_SHUTDOWN, "GCONF_ERROR_IN_SHUTDOWN", "in-shutdown" },
      { 0, NULL, NULL }
    };
    etype = g_enum_register_static ("GConfError", values);
  }
  return etype;
}


/* enumerations from "gconf-client.h" */
GType
gconf_client_preload_type_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      { GCONF_CLIENT_PRELOAD_NONE, "GCONF_CLIENT_PRELOAD_NONE", "preload-none" },
      { GCONF_CLIENT_PRELOAD_ONELEVEL, "GCONF_CLIENT_PRELOAD_ONELEVEL", "preload-onelevel" },
      { GCONF_CLIENT_PRELOAD_RECURSIVE, "GCONF_CLIENT_PRELOAD_RECURSIVE", "preload-recursive" },
      { 0, NULL, NULL }
    };
    etype = g_enum_register_static ("GConfClientPreloadType", values);
  }
  return etype;
}

GType
gconf_client_error_handling_mode_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      { GCONF_CLIENT_HANDLE_NONE, "GCONF_CLIENT_HANDLE_NONE", "handle-none" },
      { GCONF_CLIENT_HANDLE_UNRETURNED, "GCONF_CLIENT_HANDLE_UNRETURNED", "handle-unreturned" },
      { GCONF_CLIENT_HANDLE_ALL, "GCONF_CLIENT_HANDLE_ALL", "handle-all" },
      { 0, NULL, NULL }
    };
    etype = g_enum_register_static ("GConfClientErrorHandlingMode", values);
  }
  return etype;
}


/* Generated data ends here */