
/* 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 "ptyxis-enums.h"
#include "ptyxis-profile.h"
#include "ptyxis-settings.h"
#include "ptyxis-tab.h"
#include "ptyxis-tab-monitor.h"

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

/* enumerations from "ptyxis-profile.h" */

GType
ptyxis_exit_action_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_EXIT_ACTION_NONE), "PTYXIS_EXIT_ACTION_NONE", "none" },
        { C_ENUM (PTYXIS_EXIT_ACTION_RESTART), "PTYXIS_EXIT_ACTION_RESTART", "restart" },
        { C_ENUM (PTYXIS_EXIT_ACTION_CLOSE), "PTYXIS_EXIT_ACTION_CLOSE", "close" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisExitAction"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_preserve_container_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_PRESERVE_CONTAINER_NEVER), "PTYXIS_PRESERVE_CONTAINER_NEVER", "never" },
        { C_ENUM (PTYXIS_PRESERVE_CONTAINER_ALWAYS), "PTYXIS_PRESERVE_CONTAINER_ALWAYS", "always" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisPreserveContainer"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_preserve_directory_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_PRESERVE_DIRECTORY_NEVER), "PTYXIS_PRESERVE_DIRECTORY_NEVER", "never" },
        { C_ENUM (PTYXIS_PRESERVE_DIRECTORY_SAFE), "PTYXIS_PRESERVE_DIRECTORY_SAFE", "safe" },
        { C_ENUM (PTYXIS_PRESERVE_DIRECTORY_ALWAYS), "PTYXIS_PRESERVE_DIRECTORY_ALWAYS", "always" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisPreserveDirectory"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_cjk_ambiguous_width_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_CJK_AMBIGUOUS_WIDTH_NARROW), "PTYXIS_CJK_AMBIGUOUS_WIDTH_NARROW", "narrow" },
        { C_ENUM (PTYXIS_CJK_AMBIGUOUS_WIDTH_WIDE), "PTYXIS_CJK_AMBIGUOUS_WIDTH_WIDE", "wide" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisCjkAmbiguousWidth"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

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

GType
ptyxis_new_tab_position_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_NEW_TAB_POSITION_LAST), "PTYXIS_NEW_TAB_POSITION_LAST", "last" },
        { C_ENUM (PTYXIS_NEW_TAB_POSITION_NEXT), "PTYXIS_NEW_TAB_POSITION_NEXT", "next" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisNewTabPosition"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_scrollbar_policy_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_SCROLLBAR_POLICY_NEVER), "PTYXIS_SCROLLBAR_POLICY_NEVER", "never" },
        { C_ENUM (PTYXIS_SCROLLBAR_POLICY_SYSTEM), "PTYXIS_SCROLLBAR_POLICY_SYSTEM", "system" },
        { C_ENUM (PTYXIS_SCROLLBAR_POLICY_ALWAYS), "PTYXIS_SCROLLBAR_POLICY_ALWAYS", "always" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisScrollbarPolicy"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_tab_middle_click_behavior_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_TAB_MIDDLE_CLICK_CLOSE), "PTYXIS_TAB_MIDDLE_CLICK_CLOSE", "close" },
        { C_ENUM (PTYXIS_TAB_MIDDLE_CLICK_PASTE), "PTYXIS_TAB_MIDDLE_CLICK_PASTE", "paste" },
        { C_ENUM (PTYXIS_TAB_MIDDLE_CLICK_NOTHING), "PTYXIS_TAB_MIDDLE_CLICK_NOTHING", "nothing" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisTabMiddleClickBehavior"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "ptyxis-tab.h" */

GType
ptyxis_process_leader_kind_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_PROCESS_LEADER_KIND_UNKNOWN), "PTYXIS_PROCESS_LEADER_KIND_UNKNOWN", "unknown" },
        { C_ENUM (PTYXIS_PROCESS_LEADER_KIND_SUPERUSER), "PTYXIS_PROCESS_LEADER_KIND_SUPERUSER", "superuser" },
        { C_ENUM (PTYXIS_PROCESS_LEADER_KIND_REMOTE), "PTYXIS_PROCESS_LEADER_KIND_REMOTE", "remote" },
        { C_ENUM (PTYXIS_PROCESS_LEADER_KIND_CONTAINER), "PTYXIS_PROCESS_LEADER_KIND_CONTAINER", "container" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisProcessLeaderKind"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_zoom_level_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_14), "PTYXIS_ZOOM_LEVEL_MINUS_14", "minus-14" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_13), "PTYXIS_ZOOM_LEVEL_MINUS_13", "minus-13" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_12), "PTYXIS_ZOOM_LEVEL_MINUS_12", "minus-12" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_11), "PTYXIS_ZOOM_LEVEL_MINUS_11", "minus-11" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_10), "PTYXIS_ZOOM_LEVEL_MINUS_10", "minus-10" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_9), "PTYXIS_ZOOM_LEVEL_MINUS_9", "minus-9" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_8), "PTYXIS_ZOOM_LEVEL_MINUS_8", "minus-8" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_7), "PTYXIS_ZOOM_LEVEL_MINUS_7", "minus-7" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_6), "PTYXIS_ZOOM_LEVEL_MINUS_6", "minus-6" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_5), "PTYXIS_ZOOM_LEVEL_MINUS_5", "minus-5" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_4), "PTYXIS_ZOOM_LEVEL_MINUS_4", "minus-4" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_3), "PTYXIS_ZOOM_LEVEL_MINUS_3", "minus-3" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_2), "PTYXIS_ZOOM_LEVEL_MINUS_2", "minus-2" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_MINUS_1), "PTYXIS_ZOOM_LEVEL_MINUS_1", "minus-1" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_DEFAULT), "PTYXIS_ZOOM_LEVEL_DEFAULT", "default" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_1), "PTYXIS_ZOOM_LEVEL_PLUS_1", "plus-1" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_2), "PTYXIS_ZOOM_LEVEL_PLUS_2", "plus-2" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_3), "PTYXIS_ZOOM_LEVEL_PLUS_3", "plus-3" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_4), "PTYXIS_ZOOM_LEVEL_PLUS_4", "plus-4" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_5), "PTYXIS_ZOOM_LEVEL_PLUS_5", "plus-5" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_6), "PTYXIS_ZOOM_LEVEL_PLUS_6", "plus-6" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_7), "PTYXIS_ZOOM_LEVEL_PLUS_7", "plus-7" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_8), "PTYXIS_ZOOM_LEVEL_PLUS_8", "plus-8" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_9), "PTYXIS_ZOOM_LEVEL_PLUS_9", "plus-9" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_10), "PTYXIS_ZOOM_LEVEL_PLUS_10", "plus-10" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_11), "PTYXIS_ZOOM_LEVEL_PLUS_11", "plus-11" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_12), "PTYXIS_ZOOM_LEVEL_PLUS_12", "plus-12" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_13), "PTYXIS_ZOOM_LEVEL_PLUS_13", "plus-13" },
        { C_ENUM (PTYXIS_ZOOM_LEVEL_PLUS_14), "PTYXIS_ZOOM_LEVEL_PLUS_14", "plus-14" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisZoomLevel"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
ptyxis_tab_progress_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PTYXIS_TAB_PROGRESS_INDETERMINATE), "PTYXIS_TAB_PROGRESS_INDETERMINATE", "indeterminate" },
        { C_ENUM (PTYXIS_TAB_PROGRESS_ACTIVE), "PTYXIS_TAB_PROGRESS_ACTIVE", "active" },
        { C_ENUM (PTYXIS_TAB_PROGRESS_ERROR), "PTYXIS_TAB_PROGRESS_ERROR", "error" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PtyxisTabProgress"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

