![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
#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);
typedef struct { GTypeInterface g_iface; void (*merge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); void (*unmerge) (IAnjutaPreferences *obj, AnjutaPreferences* prefs, GError **err); } IAnjutaPreferencesIface;
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. |
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. |