1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ 2 /* 3 * ianjuta-preferences.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_PREFERENCES_H_ 21 #define _IANJUTA_PREFERENCES_H_ 22 23 #include <glib-object.h> 24 #include <libanjuta/anjuta-preferences.h> 25 26 G_BEGIN_DECLS 27 28 #define IANJUTA_TYPE_PREFERENCES (ianjuta_preferences_get_type ()) 29 #define IANJUTA_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IANJUTA_TYPE_PREFERENCES, IAnjutaPreferences)) 30 #define IANJUTA_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IANJUTA_TYPE_PREFERENCES)) 31 #define IANJUTA_PREFERENCES_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), IANJUTA_TYPE_PREFERENCES, IAnjutaPreferencesIface)) 32 33 #define IANJUTA_PREFERENCES_ERROR ianjuta_preferences_error_quark() 34 35 typedef struct _IAnjutaPreferences IAnjutaPreferences; 36 typedef struct _IAnjutaPreferencesIface IAnjutaPreferencesIface; 37 38 39 struct _IAnjutaPreferencesIface { 40 GTypeInterface g_iface; 41 42 43 void (*merge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); 44 void (*unmerge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); 45 46 }; 47 48 49 GQuark ianjuta_preferences_error_quark (void); 50 GType ianjuta_preferences_get_type (void); 51 52 void ianjuta_preferences_merge (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); 53 54 void ianjuta_preferences_unmerge (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); 55 56 57 G_END_DECLS 58 59 #endif 60