Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 57dd233e57
Fetching contributors…

Cannot retrieve contributors at this time

file 136 lines (122 sloc) 2.692 kb
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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136

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

#include "dh-enum-types.h"
#include "dh-assistant.h"
#include "dh-assistant-view.h"
#include "dh-base.h"
#include "dh-book-manager.h"
#include "dh-book.h"
#include "dh-book-tree.h"
#include "dh-error.h"
#include "dh-keyword-model.h"
#include "dh-link.h"
#include "dh-search.h"
#include "dh-window.h"

GType
dh_error_get_type (void)
{
static GType the_type = 0;

if (the_type == 0)
{
static const GEnumValue values[] = {
{ DH_ERROR_FILE_NOT_FOUND,
"DH_ERROR_FILE_NOT_FOUND",
"file-not-found" },
{ DH_ERROR_MALFORMED_BOOK,
"DH_ERROR_MALFORMED_BOOK",
"malformed-book" },
{ DH_ERROR_INVALID_BOOK_TYPE,
"DH_ERROR_INVALID_BOOK_TYPE",
"invalid-book-type" },
{ DH_ERROR_INTERNAL_ERROR,
"DH_ERROR_INTERNAL_ERROR",
"internal-error" },
{ 0, NULL, NULL }
};
the_type = g_enum_register_static (
g_intern_static_string ("DhError"),
values);
}
return the_type;
}


GType
dh_link_type_get_type (void)
{
static GType the_type = 0;

if (the_type == 0)
{
static const GEnumValue values[] = {
{ DH_LINK_TYPE_BOOK,
"DH_LINK_TYPE_BOOK",
"book" },
{ DH_LINK_TYPE_PAGE,
"DH_LINK_TYPE_PAGE",
"page" },
{ DH_LINK_TYPE_KEYWORD,
"DH_LINK_TYPE_KEYWORD",
"keyword" },
{ DH_LINK_TYPE_FUNCTION,
"DH_LINK_TYPE_FUNCTION",
"function" },
{ DH_LINK_TYPE_STRUCT,
"DH_LINK_TYPE_STRUCT",
"struct" },
{ DH_LINK_TYPE_MACRO,
"DH_LINK_TYPE_MACRO",
"macro" },
{ DH_LINK_TYPE_ENUM,
"DH_LINK_TYPE_ENUM",
"enum" },
{ DH_LINK_TYPE_TYPEDEF,
"DH_LINK_TYPE_TYPEDEF",
"typedef" },
{ 0, NULL, NULL }
};
the_type = g_enum_register_static (
g_intern_static_string ("DhLinkType"),
values);
}
return the_type;
}

GType
dh_link_flags_get_type (void)
{
static GType the_type = 0;

if (the_type == 0)
{
static const GFlagsValue values[] = {
{ DH_LINK_FLAGS_NONE,
"DH_LINK_FLAGS_NONE",
"none" },
{ DH_LINK_FLAGS_DEPRECATED,
"DH_LINK_FLAGS_DEPRECATED",
"deprecated" },
{ 0, NULL, NULL }
};
the_type = g_flags_register_static (
g_intern_static_string ("DhLinkFlags"),
values);
}
return the_type;
}


GType
dh_open_link_flags_get_type (void)
{
static GType the_type = 0;

if (the_type == 0)
{
static const GFlagsValue values[] = {
{ DH_OPEN_LINK_NEW_WINDOW,
"DH_OPEN_LINK_NEW_WINDOW",
"window" },
{ DH_OPEN_LINK_NEW_TAB,
"DH_OPEN_LINK_NEW_TAB",
"tab" },
{ 0, NULL, NULL }
};
the_type = g_flags_register_static (
g_intern_static_string ("DhOpenLinkFlags"),
values);
}
return the_type;
}


/* Generated data ends here */
Something went wrong with that request. Please try again.