File: gwymoduletypes.c

package info (click to toggle)
gwyddion 2.52-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 46,588 kB
  • sloc: ansic: 367,740; python: 7,788; sh: 5,245; makefile: 4,317; xml: 3,631; cpp: 2,550; pascal: 418; perl: 154; ruby: 130
file content (102 lines) | stat: -rw-r--r-- 3,908 bytes parent folder | download | duplicates (2)
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
/* This is a GENERATED file. */
/* 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. */

#include "gwymoduletypes.h"
#include "./gwymodule-file.h"
GType
gwy_module_file_error_get_type(void)
{
    static GType etype = 0;

    if (etype == 0) {
        static const GEnumValue values[] = {
            { GWY_MODULE_FILE_ERROR_CANCELED, "GWY_MODULE_FILE_ERROR_CANCELED", "canceled" },
            { GWY_MODULE_FILE_ERROR_CANCELLED, "GWY_MODULE_FILE_ERROR_CANCELLED", "cancelled" },
            { GWY_MODULE_FILE_ERROR_UNIMPLEMENTED, "GWY_MODULE_FILE_ERROR_UNIMPLEMENTED", "unimplemented" },
            { GWY_MODULE_FILE_ERROR_IO, "GWY_MODULE_FILE_ERROR_IO", "io" },
            { GWY_MODULE_FILE_ERROR_DATA, "GWY_MODULE_FILE_ERROR_DATA", "data" },
            { GWY_MODULE_FILE_ERROR_INTERACTIVE, "GWY_MODULE_FILE_ERROR_INTERACTIVE", "interactive" },
            { GWY_MODULE_FILE_ERROR_SPECIFIC, "GWY_MODULE_FILE_ERROR_SPECIFIC", "specific" },
            { 0, NULL, NULL }
        };
        etype = g_enum_register_static("GwyModuleFileError", values);
    }
    return etype;
}
#include "./gwymoduleenums.h"
GType
gwy_file_operation_type_get_type(void)
{
    static GType etype = 0;

    if (etype == 0) {
        static const GFlagsValue values[] = {
            { GWY_FILE_OPERATION_DETECT, "GWY_FILE_OPERATION_DETECT", "detect" },
            { GWY_FILE_OPERATION_LOAD, "GWY_FILE_OPERATION_LOAD", "load" },
            { GWY_FILE_OPERATION_SAVE, "GWY_FILE_OPERATION_SAVE", "save" },
            { GWY_FILE_OPERATION_EXPORT, "GWY_FILE_OPERATION_EXPORT", "export" },
            { GWY_FILE_OPERATION_MASK, "GWY_FILE_OPERATION_MASK", "mask" },
            { 0, NULL, NULL }
        };
        etype = g_flags_register_static("GwyFileOperationType", values);
    }
    return etype;
}
GType
gwy_tool_switch_event_get_type(void)
{
    static GType etype = 0;

    if (etype == 0) {
        static const GEnumValue values[] = {
            { GWY_TOOL_SWITCH_WINDOW, "GWY_TOOL_SWITCH_WINDOW", "window" },
            { GWY_TOOL_SWITCH_TOOL, "GWY_TOOL_SWITCH_TOOL", "tool" },
            { 0, NULL, NULL }
        };
        etype = g_enum_register_static("GwyToolSwitchEvent", values);
    }
    return etype;
}
GType
gwy_run_type_get_type(void)
{
    static GType etype = 0;

    if (etype == 0) {
        static const GFlagsValue values[] = {
            { GWY_RUN_NONE, "GWY_RUN_NONE", "none" },
            { GWY_RUN_NONINTERACTIVE, "GWY_RUN_NONINTERACTIVE", "noninteractive" },
            { GWY_RUN_INTERACTIVE, "GWY_RUN_INTERACTIVE", "interactive" },
            { GWY_RUN_IMMEDIATE, "GWY_RUN_IMMEDIATE", "immediate" },
            { GWY_RUN_MASK, "GWY_RUN_MASK", "mask" },
            { 0, NULL, NULL }
        };
        etype = g_flags_register_static("GwyRunType", values);
    }
    return etype;
}
#include "./gwymoduleloader.h"
GType
gwy_module_error_get_type(void)
{
    static GType etype = 0;

    if (etype == 0) {
        static const GEnumValue values[] = {
            { GWY_MODULE_ERROR_NAME, "GWY_MODULE_ERROR_NAME", "name" },
            { GWY_MODULE_ERROR_DUPLICATE, "GWY_MODULE_ERROR_DUPLICATE", "duplicate" },
            { GWY_MODULE_ERROR_OPEN, "GWY_MODULE_ERROR_OPEN", "open" },
            { GWY_MODULE_ERROR_QUERY, "GWY_MODULE_ERROR_QUERY", "query" },
            { GWY_MODULE_ERROR_ABI, "GWY_MODULE_ERROR_ABI", "abi" },
            { GWY_MODULE_ERROR_INFO, "GWY_MODULE_ERROR_INFO", "info" },
            { GWY_MODULE_ERROR_REGISTER, "GWY_MODULE_ERROR_REGISTER", "register" },
            { GWY_MODULE_ERROR_NESTING, "GWY_MODULE_ERROR_NESTING", "nesting" },
            { 0, NULL, NULL }
        };
        etype = g_enum_register_static("GwyModuleError", values);
    }
    return etype;
}

/* Generated data ends here */