/* commands.c generated by valac 0.14.2, the Vala compiler
 * generated from commands.vala, do not modify */

/*
 * Copyright (C) 2009-2011 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 */

#include <glib.h>
#include <glib-object.h>
#include <fsogsm.h>
#include <stdlib.h>
#include <string.h>
#include <gee.h>


#define CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV (cinterion_mc75_cinterion_plus_ciev_get_type ())
#define CINTERION_MC75_CINTERION_PLUS_CIEV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV, CinterionMc75CinterionPlusCIEV))
#define CINTERION_MC75_CINTERION_PLUS_CIEV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV, CinterionMc75CinterionPlusCIEVClass))
#define CINTERION_MC75_IS_CINTERION_PLUS_CIEV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV))
#define CINTERION_MC75_IS_CINTERION_PLUS_CIEV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV))
#define CINTERION_MC75_CINTERION_PLUS_CIEV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV, CinterionMc75CinterionPlusCIEVClass))

typedef struct _CinterionMc75CinterionPlusCIEV CinterionMc75CinterionPlusCIEV;
typedef struct _CinterionMc75CinterionPlusCIEVClass CinterionMc75CinterionPlusCIEVClass;
typedef struct _CinterionMc75CinterionPlusCIEVPrivate CinterionMc75CinterionPlusCIEVPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _CinterionMc75CinterionPlusCIEV {
	FsoGsmTwoParamsAtCommand parent_instance;
	CinterionMc75CinterionPlusCIEVPrivate * priv;
};

struct _CinterionMc75CinterionPlusCIEVClass {
	FsoGsmTwoParamsAtCommandClass parent_class;
};


static gpointer cinterion_mc75_cinterion_plus_ciev_parent_class = NULL;
static GType cinterion_mc75_cinterion_plus_ciev_type_id = 0;

GType cinterion_mc75_cinterion_plus_ciev_get_type (void) G_GNUC_CONST;
GType cinterion_mc75_cinterion_plus_ciev_register_type (GTypeModule * module);
enum  {
	CINTERION_MC75_CINTERION_PLUS_CIEV_DUMMY_PROPERTY
};
CinterionMc75CinterionPlusCIEV* cinterion_mc75_cinterion_plus_ciev_new (void);
CinterionMc75CinterionPlusCIEV* cinterion_mc75_cinterion_plus_ciev_construct (GType object_type);
void cinterion_mc75_registerCustomAtCommands (GeeHashMap* table);


CinterionMc75CinterionPlusCIEV* cinterion_mc75_cinterion_plus_ciev_construct (GType object_type) {
	CinterionMc75CinterionPlusCIEV * self = NULL;
	self = (CinterionMc75CinterionPlusCIEV*) fso_gsm_two_params_at_command_construct (object_type, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_INT, NULL, NULL, "+CIEV", FALSE);
	return self;
}


CinterionMc75CinterionPlusCIEV* cinterion_mc75_cinterion_plus_ciev_new (void) {
	return cinterion_mc75_cinterion_plus_ciev_construct (CINTERION_MC75_TYPE_CINTERION_PLUS_CIEV);
}


static void cinterion_mc75_cinterion_plus_ciev_class_init (CinterionMc75CinterionPlusCIEVClass * klass) {
	cinterion_mc75_cinterion_plus_ciev_parent_class = g_type_class_peek_parent (klass);
}


static void cinterion_mc75_cinterion_plus_ciev_instance_init (CinterionMc75CinterionPlusCIEV * self) {
}


/**
 * +CIEV: ciphcall,1
 **/
GType cinterion_mc75_cinterion_plus_ciev_get_type (void) {
	return cinterion_mc75_cinterion_plus_ciev_type_id;
}


GType cinterion_mc75_cinterion_plus_ciev_register_type (GTypeModule * module) {
	static const GTypeInfo g_define_type_info = { sizeof (CinterionMc75CinterionPlusCIEVClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) cinterion_mc75_cinterion_plus_ciev_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (CinterionMc75CinterionPlusCIEV), 0, (GInstanceInitFunc) cinterion_mc75_cinterion_plus_ciev_instance_init, NULL };
	cinterion_mc75_cinterion_plus_ciev_type_id = g_type_module_register_type (module, FSO_GSM_TYPE_TWO_PARAMS_AT_COMMAND, "CinterionMc75CinterionPlusCIEV", &g_define_type_info, 0);
	return cinterion_mc75_cinterion_plus_ciev_type_id;
}


/**
 * Register all custom commands
 **/
void cinterion_mc75_registerCustomAtCommands (GeeHashMap* table) {
	GeeHashMap* _tmp0_;
	CinterionMc75CinterionPlusCIEV* _tmp1_;
	CinterionMc75CinterionPlusCIEV* _tmp2_;
	g_return_if_fail (table != NULL);
	_tmp0_ = table;
	_tmp1_ = cinterion_mc75_cinterion_plus_ciev_new ();
	_tmp2_ = _tmp1_;
	gee_abstract_map_set ((GeeAbstractMap*) _tmp0_, "+CIEV", (FsoGsmAtCommand*) _tmp2_);
	_g_object_unref0 (_tmp2_);
}



