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 "dh-enum-types.h"
5 #include "dh-assistant.h"
6 #include "dh-assistant-view.h"
7 #include "dh-base.h"
8 #include "dh-book-manager.h"
9 #include "dh-book.h"
10 #include "dh-book-tree.h"
11 #include "dh-error.h"
12 #include "dh-keyword-model.h"
13 #include "dh-link.h"
14 #include "dh-search.h"
15 #include "dh-window.h"
16 
17 GType
dh_error_get_type(void)18 dh_error_get_type (void)
19 {
20 	static GType the_type = 0;
21 
22 	if (the_type == 0)
23 	{
24 		static const GEnumValue values[] = {
25 			{ DH_ERROR_FILE_NOT_FOUND,
26 			  "DH_ERROR_FILE_NOT_FOUND",
27 			  "file-not-found" },
28 			{ DH_ERROR_MALFORMED_BOOK,
29 			  "DH_ERROR_MALFORMED_BOOK",
30 			  "malformed-book" },
31 			{ DH_ERROR_INVALID_BOOK_TYPE,
32 			  "DH_ERROR_INVALID_BOOK_TYPE",
33 			  "invalid-book-type" },
34 			{ DH_ERROR_INTERNAL_ERROR,
35 			  "DH_ERROR_INTERNAL_ERROR",
36 			  "internal-error" },
37 			{ 0, NULL, NULL }
38 		};
39 		the_type = g_enum_register_static (
40 				g_intern_static_string ("DhError"),
41 				values);
42 	}
43 	return the_type;
44 }
45 
46 GType
dh_link_type_get_type(void)47 dh_link_type_get_type (void)
48 {
49 	static GType the_type = 0;
50 
51 	if (the_type == 0)
52 	{
53 		static const GEnumValue values[] = {
54 			{ DH_LINK_TYPE_BOOK,
55 			  "DH_LINK_TYPE_BOOK",
56 			  "book" },
57 			{ DH_LINK_TYPE_PAGE,
58 			  "DH_LINK_TYPE_PAGE",
59 			  "page" },
60 			{ DH_LINK_TYPE_KEYWORD,
61 			  "DH_LINK_TYPE_KEYWORD",
62 			  "keyword" },
63 			{ DH_LINK_TYPE_FUNCTION,
64 			  "DH_LINK_TYPE_FUNCTION",
65 			  "function" },
66 			{ DH_LINK_TYPE_STRUCT,
67 			  "DH_LINK_TYPE_STRUCT",
68 			  "struct" },
69 			{ DH_LINK_TYPE_MACRO,
70 			  "DH_LINK_TYPE_MACRO",
71 			  "macro" },
72 			{ DH_LINK_TYPE_ENUM,
73 			  "DH_LINK_TYPE_ENUM",
74 			  "enum" },
75 			{ DH_LINK_TYPE_TYPEDEF,
76 			  "DH_LINK_TYPE_TYPEDEF",
77 			  "typedef" },
78 			{ 0, NULL, NULL }
79 		};
80 		the_type = g_enum_register_static (
81 				g_intern_static_string ("DhLinkType"),
82 				values);
83 	}
84 	return the_type;
85 }
86 GType
dh_link_flags_get_type(void)87 dh_link_flags_get_type (void)
88 {
89 	static GType the_type = 0;
90 
91 	if (the_type == 0)
92 	{
93 		static const GFlagsValue values[] = {
94 			{ DH_LINK_FLAGS_NONE,
95 			  "DH_LINK_FLAGS_NONE",
96 			  "none" },
97 			{ DH_LINK_FLAGS_DEPRECATED,
98 			  "DH_LINK_FLAGS_DEPRECATED",
99 			  "deprecated" },
100 			{ 0, NULL, NULL }
101 		};
102 		the_type = g_flags_register_static (
103 				g_intern_static_string ("DhLinkFlags"),
104 				values);
105 	}
106 	return the_type;
107 }
108 
109 GType
dh_open_link_flags_get_type(void)110 dh_open_link_flags_get_type (void)
111 {
112 	static GType the_type = 0;
113 
114 	if (the_type == 0)
115 	{
116 		static const GFlagsValue values[] = {
117 			{ DH_OPEN_LINK_NEW_WINDOW,
118 			  "DH_OPEN_LINK_NEW_WINDOW",
119 			  "window" },
120 			{ DH_OPEN_LINK_NEW_TAB,
121 			  "DH_OPEN_LINK_NEW_TAB",
122 			  "tab" },
123 			{ 0, NULL, NULL }
124 		};
125 		the_type = g_flags_register_static (
126 				g_intern_static_string ("DhOpenLinkFlags"),
127 				values);
128 	}
129 	return the_type;
130 }
131 
132 /* Generated data ends here */
133 
134