IAnjutaPreferences

IAnjutaPreferences — Preferences interface

Stability Level

Unstable, unless otherwise indicated

Synopsis


#include <libanjuta/interfaces/ianjuta-preferences>


#define             IANJUTA_PREFERENCES_ERROR
                    IAnjutaPreferences;
                    IAnjutaPreferencesIface;
GQuark              ianjuta_preferences_error_quark     (void);
void                ianjuta_preferences_merge           (IAnjutaPreferences *obj,
                                                         AnjutaPreferences *prefs,
                                                         GError **err);
void                ianjuta_preferences_unmerge         (IAnjutaPreferences *obj,
                                                         AnjutaPreferences *prefs,
                                                         GError **err);

Object Hierarchy


  GInterface
   +----IAnjutaPreferences

Prerequisites

IAnjutaPreferences requires GObject.

Description

Details

IANJUTA_PREFERENCES_ERROR

#define IANJUTA_PREFERENCES_ERROR ianjuta_preferences_error_quark()


IAnjutaPreferences

typedef struct _IAnjutaPreferences IAnjutaPreferences;


IAnjutaPreferencesIface

typedef struct {
	GTypeInterface g_iface;
	

	void (*merge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err);
	void (*unmerge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err);
} IAnjutaPreferencesIface;


ianjuta_preferences_error_quark ()

GQuark              ianjuta_preferences_error_quark     (void);

Returns :

ianjuta_preferences_merge ()

void                ianjuta_preferences_merge           (IAnjutaPreferences *obj,
                                                         AnjutaPreferences *prefs,
                                                         GError **err);

When called, the plugin should install it's preferences

obj : Self
prefs : AnjutaPreferences to install to
err : Error propagation and reporting.

ianjuta_preferences_unmerge ()

void                ianjuta_preferences_unmerge         (IAnjutaPreferences *obj,
                                                         AnjutaPreferences *prefs,
                                                         GError **err);

When called, the plugin should uninstall it's preferences

obj : Self
prefs : AnjutaPreferences to install to
err : Error propagation and reporting.