1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ 2 /* 3 * ianjuta-indicable.h -- Autogenerated from libanjuta.idl 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Library General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef _IANJUTA_INDICABLE_H_ 21 #define _IANJUTA_INDICABLE_H_ 22 23 #include <glib-object.h> 24 #include <libanjuta/interfaces/ianjuta-iterable.h> 25 26 G_BEGIN_DECLS 27 28 #define IANJUTA_TYPE_INDICABLE (ianjuta_indicable_get_type ()) 29 #define IANJUTA_INDICABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_INDICABLE, IAnjutaIndicable)) 30 #define IANJUTA_IS_INDICABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_INDICABLE)) 31 #define IANJUTA_INDICABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_INDICABLE, IAnjutaIndicableIface)) 32 33 #define IANJUTA_TYPE_INDICABLE_INDICATOR (ianjuta_indicable_indicator_get_type()) 34 35 #define IANJUTA_INDICABLE_ERROR ianjuta_indicable_error_quark() 36 37 typedef struct _IAnjutaIndicable IAnjutaIndicable; 38 typedef struct _IAnjutaIndicableIface IAnjutaIndicableIface; 39 40 /** 41 * IAnjutaIndicableIndicator: 42 * @IANJUTA_INDICABLE_NONE: No indicator 43 * @IANJUTA_INDICABLE_IMPORTANT: Important indicator 44 * @IANJUTA_INDICABLE_WARNING: Warning indicator 45 * @IANJUTA_INDICABLE_CRITICAL: Critical indicator 46 * 47 * This enumeration is used to specify the appearance of the indicator 48 */ 49 typedef enum { 50 IANJUTA_INDICABLE_NONE, 51 IANJUTA_INDICABLE_IMPORTANT, 52 IANJUTA_INDICABLE_WARNING, 53 IANJUTA_INDICABLE_CRITICAL 54 } IAnjutaIndicableIndicator; 55 56 57 struct _IAnjutaIndicableIface { 58 GTypeInterface g_iface; 59 60 61 void (*clear) (IAnjutaIndicable *obj, GError **err); 62 void (*set) (IAnjutaIndicable *obj, IAnjutaIterable *begin_location, IAnjutaIterable *end_location, IAnjutaIndicableIndicator indicator, GError **err); 63 64 }; 65 66 GType ianjuta_indicable_indicator_get_type (void); 67 68 GQuark ianjuta_indicable_error_quark (void); 69 GType ianjuta_indicable_get_type (void); 70 71 void ianjuta_indicable_clear (IAnjutaIndicable *obj, GError **err); 72 73 void ianjuta_indicable_set (IAnjutaIndicable *obj, IAnjutaIterable *begin_location, IAnjutaIterable *end_location, IAnjutaIndicableIndicator indicator, GError **err); 74 75 76 G_END_DECLS 77 78 #endif 79