/* imap-error.c generated by valac 0.56.3, the Vala compiler
 * generated from imap-error.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 */

#include "geary-engine.h"

/**
 * Possible Errors thrown by various components in the {@link Geary.Imap} namespace.
 *
 */

GQuark
geary_imap_error_quark (void)
{
	return g_quark_from_static_string ("geary-imap-error-quark");
}

 G_GNUC_NO_INLINE static GType
geary_imap_error_get_type_once (void)
{
	static const GEnumValue values[] = {{GEARY_IMAP_ERROR_PARSE_ERROR, "GEARY_IMAP_ERROR_PARSE_ERROR", "parse-error"}, {GEARY_IMAP_ERROR_TYPE_ERROR, "GEARY_IMAP_ERROR_TYPE_ERROR", "type-error"}, {GEARY_IMAP_ERROR_NOT_CONNECTED, "GEARY_IMAP_ERROR_NOT_CONNECTED", "not-connected"}, {GEARY_IMAP_ERROR_ALREADY_CONNECTED, "GEARY_IMAP_ERROR_ALREADY_CONNECTED", "already-connected"}, {GEARY_IMAP_ERROR_SERVER_ERROR, "GEARY_IMAP_ERROR_SERVER_ERROR", "server-error"}, {GEARY_IMAP_ERROR_UNAUTHENTICATED, "GEARY_IMAP_ERROR_UNAUTHENTICATED", "unauthenticated"}, {GEARY_IMAP_ERROR_NOT_SUPPORTED, "GEARY_IMAP_ERROR_NOT_SUPPORTED", "not-supported"}, {GEARY_IMAP_ERROR_INVALID, "GEARY_IMAP_ERROR_INVALID", "invalid"}, {GEARY_IMAP_ERROR_TIMED_OUT, "GEARY_IMAP_ERROR_TIMED_OUT", "timed-out"}, {GEARY_IMAP_ERROR_UNAVAILABLE, "GEARY_IMAP_ERROR_UNAVAILABLE", "unavailable"}, {0, NULL, NULL}};
	GType geary_imap_error_type_id;
	geary_imap_error_type_id = g_enum_register_static ("GearyImapError", values);
	return geary_imap_error_type_id;
}

GType
geary_imap_error_get_type (void)
{
	static gsize geary_imap_error_type_id__once = 0;
	if (g_once_init_enter (&geary_imap_error_type_id__once)) {
		GType geary_imap_error_type_id;
		geary_imap_error_type_id = geary_imap_error_get_type_once ();
		g_once_init_leave (&geary_imap_error_type_id__once, geary_imap_error_type_id);
	}
	return geary_imap_error_type_id__once;
}

