IAnjutaPreferences

IAnjutaPreferences — Preferences interface

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <libanjuta/interfaces/ianjuta-preferences>

#define             IANJUTA_PREFERENCES_ERROR
struct              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);

Description

Details

IANJUTA_PREFERENCES_ERROR

#define IANJUTA_PREFERENCES_ERROR ianjuta_preferences_error_quark()


struct IAnjutaPreferencesIface

struct IAnjutaPreferencesIface {
	GTypeInterface g_iface;
	

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


ianjuta_preferences_error_quark ()

GQuark              ianjuta_preferences_error_quark     (void);


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.