
/* 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 "tepl-enum-types.h"
#include "tepl.h"
#include "tepl-abstract-factory.h"
#include "tepl-application.h"
#include "tepl-application-window.h"
#include "tepl-buffer.h"
#include "tepl-file.h"
#include "tepl-file-chooser.h"
#include "tepl-file-loader.h"
#include "tepl-file-saver.h"
#include "tepl-fold-region.h"
#include "tepl-goto-line-bar.h"
#include "tepl-gutter-renderer-folds.h"
#include "tepl-info-bar.h"
#include "tepl-init.h"
#include "tepl-io-error-info-bars.h"
#include "tepl-language-chooser.h"
#include "tepl-language-chooser-dialog.h"
#include "tepl-language-chooser-widget.h"
#include "tepl-line-column-indicator.h"
#include "tepl-menu-shell.h"
#include "tepl-metadata.h"
#include "tepl-metadata-manager.h"
#include "tepl-notebook.h"
#include "tepl-object-counters.h"
#include "tepl-overwrite-indicator.h"
#include "tepl-panel1.h"
#include "tepl-panel.h"
#include "tepl-panel-item.h"
#include "tepl-panel-notebook.h"
#include "tepl-panel-simple.h"
#include "tepl-panel-stack.h"
#include "tepl-panel-switcher-menu.h"
#include "tepl-pango.h"
#include "tepl-prefs.h"
#include "tepl-prefs-dialog.h"
#include "tepl-progress-info-bar.h"
#include "tepl-settings.h"
#include "tepl-settings-binding-group.h"
#include "tepl-signal-group.h"
#include "tepl-space-drawer-prefs.h"
#include "tepl-statusbar.h"
#include "tepl-status-menu-button.h"
#include "tepl-style-scheme-chooser-full.h"
#include "tepl-style-scheme-chooser-simple.h"
#include "tepl-tab.h"
#include "tepl-tab-group.h"
#include "tepl-tab-label.h"
#include "tepl-tab-loading.h"
#include "tepl-tab-saving.h"
#include "tepl-utils.h"
#include "tepl-view.h"
#include "tepl-window-state.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "tepl-buffer.h" */

GType
tepl_selection_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (TEPL_SELECTION_TYPE_NO_SELECTION), "TEPL_SELECTION_TYPE_NO_SELECTION", "no-selection" },
        { C_ENUM (TEPL_SELECTION_TYPE_ON_SAME_LINE), "TEPL_SELECTION_TYPE_ON_SAME_LINE", "on-same-line" },
        { C_ENUM (TEPL_SELECTION_TYPE_MULTIPLE_LINES), "TEPL_SELECTION_TYPE_MULTIPLE_LINES", "multiple-lines" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("TeplSelectionType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "tepl-file-saver.h" */

GType
tepl_file_saver_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (TEPL_FILE_SAVER_FLAGS_NONE), "TEPL_FILE_SAVER_FLAGS_NONE", "none" },
        { C_FLAGS (TEPL_FILE_SAVER_FLAGS_CREATE_BACKUP), "TEPL_FILE_SAVER_FLAGS_CREATE_BACKUP", "create-backup" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("TeplFileSaverFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "tepl-file.h" */

GType
tepl_newline_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (TEPL_NEWLINE_TYPE_LF), "TEPL_NEWLINE_TYPE_LF", "lf" },
        { C_ENUM (TEPL_NEWLINE_TYPE_CR), "TEPL_NEWLINE_TYPE_CR", "cr" },
        { C_ENUM (TEPL_NEWLINE_TYPE_CR_LF), "TEPL_NEWLINE_TYPE_CR_LF", "cr-lf" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("TeplNewlineType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "tepl-gutter-renderer-folds.h" */

GType
tepl_gutter_renderer_folds_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE), "TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE", "none" },
        { C_FLAGS (TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED), "TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED", "start-folded" },
        { C_FLAGS (TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED), "TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED", "start-opened" },
        { C_FLAGS (TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE), "TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE", "continue" },
        { C_FLAGS (TEPL_GUTTER_RENDERER_FOLDS_STATE_END), "TEPL_GUTTER_RENDERER_FOLDS_STATE_END", "end" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("TeplGutterRendererFoldsState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "tepl-info-bar.h" */

GType
tepl_info_bar_location_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (TEPL_INFO_BAR_LOCATION_ALONGSIDE_ICON), "TEPL_INFO_BAR_LOCATION_ALONGSIDE_ICON", "alongside-icon" },
        { C_ENUM (TEPL_INFO_BAR_LOCATION_BELOW_ICON), "TEPL_INFO_BAR_LOCATION_BELOW_ICON", "below-icon" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("TeplInfoBarLocation"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "tepl-settings.h" */

GType
tepl_settings_theme_variant_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (TEPL_SETTINGS_THEME_VARIANT_SYSTEM), "TEPL_SETTINGS_THEME_VARIANT_SYSTEM", "system" },
        { C_ENUM (TEPL_SETTINGS_THEME_VARIANT_LIGHT), "TEPL_SETTINGS_THEME_VARIANT_LIGHT", "light" },
        { C_ENUM (TEPL_SETTINGS_THEME_VARIANT_DARK), "TEPL_SETTINGS_THEME_VARIANT_DARK", "dark" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("TeplSettingsThemeVariant"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

