/* gcp-plugin.c generated by valac 0.19.0, the Vala compiler
 * generated from gcp-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/>.
 */

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


#define GCP_TYPE_VIEW_ACTIVATABLE (gcp_view_activatable_get_type ())
#define GCP_VIEW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCP_TYPE_VIEW_ACTIVATABLE, GcpViewActivatable))
#define GCP_VIEW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCP_TYPE_VIEW_ACTIVATABLE, GcpViewActivatableClass))
#define GCP_IS_VIEW_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCP_TYPE_VIEW_ACTIVATABLE))
#define GCP_IS_VIEW_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCP_TYPE_VIEW_ACTIVATABLE))
#define GCP_VIEW_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCP_TYPE_VIEW_ACTIVATABLE, GcpViewActivatableClass))

typedef struct _GcpViewActivatable GcpViewActivatable;
typedef struct _GcpViewActivatableClass GcpViewActivatableClass;

#define GCP_TYPE_APP_ACTIVATABLE (gcp_app_activatable_get_type ())
#define GCP_APP_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCP_TYPE_APP_ACTIVATABLE, GcpAppActivatable))
#define GCP_APP_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCP_TYPE_APP_ACTIVATABLE, GcpAppActivatableClass))
#define GCP_IS_APP_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCP_TYPE_APP_ACTIVATABLE))
#define GCP_IS_APP_ACTIVATABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCP_TYPE_APP_ACTIVATABLE))
#define GCP_APP_ACTIVATABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCP_TYPE_APP_ACTIVATABLE, GcpAppActivatableClass))

typedef struct _GcpAppActivatable GcpAppActivatable;
typedef struct _GcpAppActivatableClass GcpAppActivatableClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))



void peas_register_types (GTypeModule* module);
GType gcp_view_activatable_get_type (void) G_GNUC_CONST;
GType gcp_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) {
	GTypeModule* _tmp0_;
	PeasObjectModule* _tmp1_;
	PeasObjectModule* mod;
	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 (), GCP_TYPE_VIEW_ACTIVATABLE);
	peas_object_module_register_extension_type (mod, gedit_app_activatable_get_type (), GCP_TYPE_APP_ACTIVATABLE);
	_g_object_unref0 (mod);
}



