/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 *  ianjuta-stream-loader.h -- Autogenerated from libanjuta.idl
 *
 *  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 Library 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.
 */

#ifndef _IANJUTA_STREAM_LOADER_H_
#define _IANJUTA_STREAM_LOADER_H_

#include <glib-object.h>
#include <stdio.h>
#include <libanjuta/interfaces/ianjuta-loader.h>

G_BEGIN_DECLS

#define IANJUTA_TYPE_STREAM_LOADER (ianjuta_stream_loader_get_type ())
#define IANJUTA_STREAM_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_STREAM_LOADER, IAnjutaStreamLoader))
#define IANJUTA_IS_STREAM_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_STREAM_LOADER))
#define IANJUTA_STREAM_LOADER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_STREAM_LOADER, IAnjutaStreamLoaderIface))

#define IANJUTA_STREAM_LOADER_ERROR ianjuta_stream_loader_error_quark()

typedef struct _IAnjutaStreamLoader IAnjutaStreamLoader;
typedef struct _IAnjutaStreamLoaderIface IAnjutaStreamLoaderIface;


struct _IAnjutaStreamLoaderIface {
	IAnjutaLoaderIface g_iface;
	

	GObject* (*load) (IAnjutaStreamLoader *obj, FILE *stream,  gboolean readonly, GError **err);
	gchar* (*peek_interface) (IAnjutaStreamLoader *obj, FILE *stream, GError **err);

};


GQuark ianjuta_stream_loader_error_quark     (void);
GType  ianjuta_stream_loader_get_type        (void);

GObject* ianjuta_stream_loader_load (IAnjutaStreamLoader *obj, FILE *stream,  gboolean readonly, GError **err);

gchar* ianjuta_stream_loader_peek_interface (IAnjutaStreamLoader *obj, FILE *stream, GError **err);


G_END_DECLS

#endif
