/* gitg-ext-remote-lookup.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-ext-remote-lookup.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2014 - Jesse van den Kieboom
 *
 * gitg 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.
 *
 * gitg 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 gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include "libgitg/libgitg.h"


#define GITG_EXT_TYPE_REMOTE_LOOKUP (gitg_ext_remote_lookup_get_type ())
#define GITG_EXT_REMOTE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP, GitgExtRemoteLookup))
#define GITG_EXT_IS_REMOTE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP))
#define GITG_EXT_REMOTE_LOOKUP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP, GitgExtRemoteLookupIface))

typedef struct _GitgExtRemoteLookup GitgExtRemoteLookup;
typedef struct _GitgExtRemoteLookupIface GitgExtRemoteLookupIface;

struct _GitgExtRemoteLookupIface {
	GTypeInterface parent_iface;
	GitgRemote* (*lookup) (GitgExtRemoteLookup* self, const gchar* name);
};



GType gitg_ext_remote_lookup_get_type (void) G_GNUC_CONST;
GitgRemote* gitg_ext_remote_lookup_lookup (GitgExtRemoteLookup* self, const gchar* name);


GitgRemote* gitg_ext_remote_lookup_lookup (GitgExtRemoteLookup* self, const gchar* name) {
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-remote-lookup.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-remote-lookup.vala"
	return GITG_EXT_REMOTE_LOOKUP_GET_INTERFACE (self)->lookup (self, name);
#line 55 "gitg-ext-remote-lookup.c"
}


static void gitg_ext_remote_lookup_base_init (GitgExtRemoteLookupIface * iface) {
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-remote-lookup.vala"
	static gboolean initialized = FALSE;
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-remote-lookup.vala"
	if (!initialized) {
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-remote-lookup.vala"
		initialized = TRUE;
#line 66 "gitg-ext-remote-lookup.c"
	}
}


GType gitg_ext_remote_lookup_get_type (void) {
	static volatile gsize gitg_ext_remote_lookup_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_remote_lookup_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtRemoteLookupIface), (GBaseInitFunc) gitg_ext_remote_lookup_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType gitg_ext_remote_lookup_type_id;
		gitg_ext_remote_lookup_type_id = g_type_register_static (G_TYPE_INTERFACE, "GitgExtRemoteLookup", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (gitg_ext_remote_lookup_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&gitg_ext_remote_lookup_type_id__volatile, gitg_ext_remote_lookup_type_id);
	}
	return gitg_ext_remote_lookup_type_id__volatile;
}



