/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 *  ianjuta-project-chooser.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_PROJECT_CHOOSER_H_
#define _IANJUTA_PROJECT_CHOOSER_H_

#include <glib-object.h>
#include <libanjuta/anjuta-project.h>
#include <libanjuta/interfaces/ianjuta-project-manager.h>

G_BEGIN_DECLS

#define IANJUTA_TYPE_PROJECT_CHOOSER (ianjuta_project_chooser_get_type ())
#define IANJUTA_PROJECT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_PROJECT_CHOOSER, IAnjutaProjectChooser))
#define IANJUTA_IS_PROJECT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_PROJECT_CHOOSER))
#define IANJUTA_PROJECT_CHOOSER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_PROJECT_CHOOSER, IAnjutaProjectChooserIface))

#define IANJUTA_PROJECT_CHOOSER_ERROR ianjuta_project_chooser_error_quark()

typedef struct _IAnjutaProjectChooser IAnjutaProjectChooser;
typedef struct _IAnjutaProjectChooserIface IAnjutaProjectChooserIface;


struct _IAnjutaProjectChooserIface {
	GTypeInterface g_iface;
	
	/* Signal */
	void (*changed) (IAnjutaProjectChooser *obj);

	GFile* (*get_selected) (IAnjutaProjectChooser *obj, GError **err);
	gboolean (*set_project_model) (IAnjutaProjectChooser *obj, IAnjutaProjectManager *manager,  AnjutaProjectNodeType child_type, GError **err);

};


GQuark ianjuta_project_chooser_error_quark     (void);
GType  ianjuta_project_chooser_get_type        (void);

GFile* ianjuta_project_chooser_get_selected (IAnjutaProjectChooser *obj, GError **err);

gboolean ianjuta_project_chooser_set_project_model (IAnjutaProjectChooser *obj, IAnjutaProjectManager *manager,  AnjutaProjectNodeType child_type, GError **err);


G_END_DECLS

#endif
