/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * ianjuta-language-support.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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _IANJUTA_LANGUAGE_SUPPORT_H_ #define _IANJUTA_LANGUAGE_SUPPORT_H_ #include G_BEGIN_DECLS #define IANJUTA_TYPE_LANGUAGE_SUPPORT (ianjuta_language_support_get_type ()) #define IANJUTA_LANGUAGE_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_LANGUAGE_SUPPORT, IAnjutaLanguageSupport)) #define IANJUTA_IS_LANGUAGE_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_LANGUAGE_SUPPORT)) #define IANJUTA_LANGUAGE_SUPPORT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_LANGUAGE_SUPPORT, IAnjutaLanguageSupportIface)) #define IANJUTA_LANGUAGE_SUPPORT_ERROR ianjuta_language_support_error_quark() typedef struct _IAnjutaLanguageSupport IAnjutaLanguageSupport; typedef struct _IAnjutaLanguageSupportIface IAnjutaLanguageSupportIface; struct _IAnjutaLanguageSupportIface { GTypeInterface g_iface; GList* (*get_supported_languages) (IAnjutaLanguageSupport *obj, GError **err); gboolean (*supports) (IAnjutaLanguageSupport *obj, const gchar *language, GError **err); }; GQuark ianjuta_language_support_error_quark (void); GType ianjuta_language_support_get_type (void); GList* ianjuta_language_support_get_supported_languages (IAnjutaLanguageSupport *obj, GError **err); gboolean ianjuta_language_support_supports (IAnjutaLanguageSupport *obj, const gchar *language, GError **err); G_END_DECLS #endif