/* gca-plugin.c generated by valac 0.28.0.11-bbdd, the Vala compiler
 * generated from gca-plugin.vala, do not modify */

/*
 * This file is part of gedit-code-assistant.
 *
 * Copyright (C) 2011 - Jesse van den Kieboom
 *
 * gedit-code-assistant 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 3 of the License, or
 * (at your option) any later version.
 *
 * gedit-code-assistant 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 gedit-code-assistant.  If not, see <http://www.gnu.org/licenses/>.
 */
/*[ModuleInit]*/

#include <glib.h>
#include <glib-object.h>
#include <libpeas/peas.h>
#include <gedit/gedit-view-activatable.h>
#include <gedit/gedit-window-activatable.h>
#include <gedit/gedit-app-activatable.h>


#define GCA_TYPE_VIEW_ACTIVATABLE (gca_view_activatable_get_type ())
#define GCA_VIEW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCA_TYPE_VIEW_ACTIVATABLE, GcaViewActivatable))
#define GCA_VIEW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCA_TYPE_VIEW_ACTIVATABLE, GcaViewActivatableClass))
#define GCA_IS_VIEW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCA_TYPE_VIEW_ACTIVATABLE))
#define GCA_IS_VIEW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCA_TYPE_VIEW_ACTIVATABLE))
#define GCA_VIEW_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCA_TYPE_VIEW_ACTIVATABLE, GcaViewActivatableClass))

typedef struct _GcaViewActivatable GcaViewActivatable;
typedef struct _GcaViewActivatableClass GcaViewActivatableClass;

#define GCA_TYPE_WINDOW_ACTIVATABLE (gca_window_activatable_get_type ())
#define GCA_WINDOW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCA_TYPE_WINDOW_ACTIVATABLE, GcaWindowActivatable))
#define GCA_WINDOW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCA_TYPE_WINDOW_ACTIVATABLE, GcaWindowActivatableClass))
#define GCA_IS_WINDOW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCA_TYPE_WINDOW_ACTIVATABLE))
#define GCA_IS_WINDOW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCA_TYPE_WINDOW_ACTIVATABLE))
#define GCA_WINDOW_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCA_TYPE_WINDOW_ACTIVATABLE, GcaWindowActivatableClass))

typedef struct _GcaWindowActivatable GcaWindowActivatable;
typedef struct _GcaWindowActivatableClass GcaWindowActivatableClass;

#define GCA_TYPE_APP_ACTIVATABLE (gca_app_activatable_get_type ())
#define GCA_APP_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCA_TYPE_APP_ACTIVATABLE, GcaAppActivatable))
#define GCA_APP_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCA_TYPE_APP_ACTIVATABLE, GcaAppActivatableClass))
#define GCA_IS_APP_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCA_TYPE_APP_ACTIVATABLE))
#define GCA_IS_APP_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCA_TYPE_APP_ACTIVATABLE))
#define GCA_APP_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCA_TYPE_APP_ACTIVATABLE, GcaAppActivatableClass))

typedef struct _GcaAppActivatable GcaAppActivatable;
typedef struct _GcaAppActivatableClass GcaAppActivatableClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))



void peas_register_types (GTypeModule* module);
GType gca_view_activatable_get_type (void) G_GNUC_CONST;
GType gca_window_activatable_get_type (void) G_GNUC_CONST;
GType gca_app_activatable_get_type (void) G_GNUC_CONST;


static gpointer _g_object_ref0 (gpointer self) {
	return self ? g_object_ref (self) : NULL;
}


void peas_register_types (GTypeModule* module) {
	PeasObjectModule* mod = NULL;
	GTypeModule* _tmp0_ = NULL;
	PeasObjectModule* _tmp1_ = NULL;
	g_return_if_fail (module != NULL);
	_tmp0_ = module;
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, peas_object_module_get_type ()) ? ((PeasObjectModule*) _tmp0_) : NULL);
	mod = _tmp1_;
	peas_object_module_register_extension_type (mod, gedit_view_activatable_get_type (), GCA_TYPE_VIEW_ACTIVATABLE);
	peas_object_module_register_extension_type (mod, gedit_window_activatable_get_type (), GCA_TYPE_WINDOW_ACTIVATABLE);
	peas_object_module_register_extension_type (mod, gedit_app_activatable_get_type (), GCA_TYPE_APP_ACTIVATABLE);
	_g_object_unref0 (mod);
}



