|  |  |  | Anjuta Developers Reference Manual |  | 
|---|---|---|---|---|
#include <libanjuta/anjuta-profile.h> #define ANJUTA_PROFILE_ERROR enum AnjutaProfileError; AnjutaProfilePriv; AnjutaProfile; GQuark anjuta_profile_error_quark (void); AnjutaProfile* anjuta_profile_new (const gchar *profile_name, AnjutaPluginManager *plugin_manager); const gchar* anjuta_profile_get_name (AnjutaProfile *profile); void anjuta_profile_add_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin); void anjuta_profile_remove_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin); gboolean anjuta_profile_add_plugins_from_xml (AnjutaProfile *profile, const gchar *profile_xml_uri, gboolean exclude_from_sync, GError **error); gboolean anjuta_profile_has_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin); GList* anjuta_profile_get_plugins (AnjutaProfile *profile); gchar* anjuta_profile_to_xml (AnjutaProfile *profile); void anjuta_profile_set_sync_uri (AnjutaProfile *profile, const gchar *sync_uri); gboolean anjuta_profile_sync (AnjutaProfile *profile, GError **error);
"plugin-manager" AnjutaPluginManager : Read / Write / Construct "plugins" gpointer : Read / Write / Construct "profile-name" gchararray : Read / Write / Construct "sync-uri" gchararray : Read / Write
typedef enum
{
	ANJUTA_PROFILE_ERROR_URI_READ_FAILED,
	ANJUTA_PROFILE_ERROR_URI_WRITE_FAILED
} AnjutaProfileError;
AnjutaProfile* anjuta_profile_new (const gchar *profile_name, AnjutaPluginManager *plugin_manager);
| profile_name: | |
| plugin_manager: | |
| Returns : | 
const gchar* anjuta_profile_get_name (AnjutaProfile *profile);
| profile: | |
| Returns : | 
void anjuta_profile_add_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin);
| profile: | |
| plugin: | 
void anjuta_profile_remove_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin);
| profile: | |
| plugin: | 
gboolean anjuta_profile_add_plugins_from_xml (AnjutaProfile *profile, const gchar *profile_xml_uri, gboolean exclude_from_sync, GError **error);
| profile: | |
| profile_xml_uri: | |
| exclude_from_sync: | |
| error: | |
| Returns : | 
gboolean anjuta_profile_has_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin);
| profile: | |
| plugin: | |
| Returns : | 
GList* anjuta_profile_get_plugins (AnjutaProfile *profile);
| profile: | |
| Returns : | 
void anjuta_profile_set_sync_uri (AnjutaProfile *profile, const gchar *sync_uri);
| profile: | |
| sync_uri: | 
gboolean anjuta_profile_sync (AnjutaProfile *profile, GError **error);
| profile: | |
| error: | |
| Returns : | 
plugin-manager" property"plugin-manager" AnjutaPluginManager : Read / Write / Construct
The plugin manager to use for resolving plugins.
plugins" property"plugins" gpointer : Read / Write / Construct
List of plugins for this profile.
profile-name" property"profile-name" gchararray : Read / Write / Construct
Name of the plugin profile.
Default value: NULL
void user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
| anjutaprofile: | the object which received the signal. | 
| arg1: | |
| user_data: | user data set when the signal handler was connected. | 
void user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
| anjutaprofile: | the object which received the signal. | 
| arg1: | |
| user_data: | user data set when the signal handler was connected. | 
void user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
| anjutaprofile: | the object which received the signal. | 
| arg1: | |
| user_data: | user data set when the signal handler was connected. |