/* imap-logout-command.c generated by valac 0.56.3, the Vala compiler
 * generated from imap-logout-command.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"
#include <gio/gio.h>
#include <glib.h>

enum  {
	GEARY_IMAP_LOGOUT_COMMAND_0_PROPERTY,
	GEARY_IMAP_LOGOUT_COMMAND_NUM_PROPERTIES
};
static GParamSpec* geary_imap_logout_command_properties[GEARY_IMAP_LOGOUT_COMMAND_NUM_PROPERTIES];

static gpointer geary_imap_logout_command_parent_class = NULL;

static GType geary_imap_logout_command_get_type_once (void);

GearyImapLogoutCommand*
geary_imap_logout_command_construct (GType object_type,
                                     GCancellable* should_send)
{
	GearyImapLogoutCommand * self = NULL;
	g_return_val_if_fail ((should_send == NULL) || G_TYPE_CHECK_INSTANCE_TYPE (should_send, g_cancellable_get_type ()), NULL);
	self = (GearyImapLogoutCommand*) geary_imap_command_construct (object_type, GEARY_IMAP_LOGOUT_COMMAND_NAME, NULL, (gint) 0, should_send);
	return self;
}

GearyImapLogoutCommand*
geary_imap_logout_command_new (GCancellable* should_send)
{
	return geary_imap_logout_command_construct (GEARY_IMAP_TYPE_LOGOUT_COMMAND, should_send);
}

static void
geary_imap_logout_command_class_init (GearyImapLogoutCommandClass * klass,
                                      gpointer klass_data)
{
	geary_imap_logout_command_parent_class = g_type_class_peek_parent (klass);
}

static void
geary_imap_logout_command_instance_init (GearyImapLogoutCommand * self,
                                         gpointer klass)
{
}

/**
 * See [[http://tools.ietf.org/html/rfc3501#section-6.1.3]]
 */
 G_GNUC_NO_INLINE static GType
geary_imap_logout_command_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (GearyImapLogoutCommandClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) geary_imap_logout_command_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GearyImapLogoutCommand), 0, (GInstanceInitFunc) geary_imap_logout_command_instance_init, NULL };
	GType geary_imap_logout_command_type_id;
	geary_imap_logout_command_type_id = g_type_register_static (GEARY_IMAP_TYPE_COMMAND, "GearyImapLogoutCommand", &g_define_type_info, 0);
	return geary_imap_logout_command_type_id;
}

GType
geary_imap_logout_command_get_type (void)
{
	static gsize geary_imap_logout_command_type_id__once = 0;
	if (g_once_init_enter (&geary_imap_logout_command_type_id__once)) {
		GType geary_imap_logout_command_type_id;
		geary_imap_logout_command_type_id = geary_imap_logout_command_get_type_once ();
		g_once_init_leave (&geary_imap_logout_command_type_id__once, geary_imap_logout_command_type_id);
	}
	return geary_imap_logout_command_type_id__once;
}

