![]() |
![]() |
![]() |
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);
|
|
|
|
Returns : |
const gchar* anjuta_profile_get_name (AnjutaProfile *profile);
|
|
Returns : |
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);
|
|
|
|
|
|
|
|
Returns : |
gboolean anjuta_profile_has_plugin (AnjutaProfile *profile, AnjutaPluginDescription *plugin);
|
|
|
|
Returns : |
GList* anjuta_profile_get_plugins (AnjutaProfile *profile);
|
|
Returns : |
void anjuta_profile_set_sync_uri (AnjutaProfile *profile, const gchar *sync_uri);
|
|
|
gboolean anjuta_profile_sync (AnjutaProfile *profile, GError **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
"sync-uri"
property"sync-uri" gchararray : Read / Write
URI to sync the profile xml.
Default value: NULL
"changed"
signalvoid user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"plugin-added"
signalvoid user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"plugin-removed"
signalvoid user_function (AnjutaProfile *anjutaprofile, gpointer arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |