![]() |
![]() |
![]() |
CodeSlayer Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <codeslayer/codeslayer-profile.h> struct CodeSlayerProfile; CodeSlayerProfile * codeslayer_profile_new (void
); const gchar * codeslayer_profile_get_name (CodeSlayerProfile *profile
); void codeslayer_profile_set_name (CodeSlayerProfile *profile
,gchar *name
); const gchar * codeslayer_profile_get_file_path (CodeSlayerProfile *profile
); void codeslayer_profile_set_file_path (CodeSlayerProfile *profile
,const gchar *file_path
); gboolean codeslayer_profile_get_enable_projects (CodeSlayerProfile *profile
); void codeslayer_profile_set_enable_projects (CodeSlayerProfile *profile
,gboolean enable_projects
); GList * codeslayer_profile_get_projects (CodeSlayerProfile *profile
); void codeslayer_profile_set_projects (CodeSlayerProfile *profile
,GList *projects
); CodeSlayerProject * codeslayer_profile_find_project (CodeSlayerProfile *profile
,const gchar *project_key
); CodeSlayerProject * codeslayer_profile_get_project_by_file_path (CodeSlayerProfile *profile
,const gchar *file_path
); void codeslayer_profile_add_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
); void codeslayer_profile_remove_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
); void codeslayer_profile_remove_all_projects (CodeSlayerProfile *profile
); gboolean codeslayer_profile_contains_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
); GList * codeslayer_profile_get_documents (CodeSlayerProfile *profile
); void codeslayer_profile_set_documents (CodeSlayerProfile *profile
,GList *documents
); void codeslayer_profile_add_document (CodeSlayerProfile *profile
,CodeSlayerDocument *document
); void codeslayer_profile_remove_document (CodeSlayerProfile *profile
,CodeSlayerDocument *document
); void codeslayer_profile_remove_all_documents (CodeSlayerProfile *profile
); CodeSlayerRegistry * codeslayer_profile_get_registry (CodeSlayerProfile *profile
); GList * codeslayer_profile_get_plugins (CodeSlayerProfile *profile
); void codeslayer_profile_set_plugins (CodeSlayerProfile *profile
,GList *plugins
); gboolean codeslayer_profile_contains_plugin (CodeSlayerProfile *profile
,const gchar *plugin
); void codeslayer_profile_add_plugin (CodeSlayerProfile *profile
,const gchar *plugin
); void codeslayer_profile_remove_plugin (CodeSlayerProfile *profile
,const gchar *plugin
);
CodeSlayerProfile * codeslayer_profile_new (void
);
Creates a new CodeSlayerProfile.
Returns : |
a new CodeSlayerProfile. |
const gchar * codeslayer_profile_get_name (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
the text to display for the profile. |
void codeslayer_profile_set_name (CodeSlayerProfile *profile
,gchar *name
);
|
a CodeSlayerProfile. |
|
the name of the profile. |
Returns : |
the text to display for the profile. |
const gchar * codeslayer_profile_get_file_path (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
the path to the profiles file. |
void codeslayer_profile_set_file_path (CodeSlayerProfile *profile
,const gchar *file_path
);
|
a CodeSlayerProfile. |
|
the path to the profiles file. |
gboolean codeslayer_profile_get_enable_projects
(CodeSlayerProfile *profile
);
void codeslayer_profile_set_enable_projects (CodeSlayerProfile *profile
,gboolean enable_projects
);
GList * codeslayer_profile_get_projects (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
The list of CodeSlayerProject objects within the profile. |
void codeslayer_profile_set_projects (CodeSlayerProfile *profile
,GList *projects
);
|
a CodeSlayerProfile. |
|
the list of CodeSlayerProject objects to add to the profile. |
CodeSlayerProject * codeslayer_profile_find_project (CodeSlayerProfile *profile
,const gchar *project_key
);
CodeSlayerProject * codeslayer_profile_get_project_by_file_path (CodeSlayerProfile *profile
,const gchar *file_path
);
|
a CodeSlayerProfile. |
|
the file_path of the CodeSlayerProject to find. |
Returns : |
the project found by given file path. Will return NULL if the project specified is not found. |
void codeslayer_profile_add_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
);
|
a CodeSlayerProfile. |
|
the CodeSlayerProject to add to the profile. |
void codeslayer_profile_remove_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
);
|
a CodeSlayerProfile. |
|
the CodeSlayerProject to remove from the profile. |
void codeslayer_profile_remove_all_projects
(CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
gboolean codeslayer_profile_contains_project (CodeSlayerProfile *profile
,CodeSlayerProject *project
);
|
a CodeSlayerProfile. |
|
the CodeSlayerProject to check. |
GList * codeslayer_profile_get_documents (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
The list of CodeSlayerDocuments objects within the profile. |
void codeslayer_profile_set_documents (CodeSlayerProfile *profile
,GList *documents
);
|
a CodeSlayerProfile. |
|
the list of CodeSlayerDocument objects to add to the profile. |
void codeslayer_profile_add_document (CodeSlayerProfile *profile
,CodeSlayerDocument *document
);
|
a CodeSlayerProfile. |
|
the CodeSlayerDocument to add to the profile. |
void codeslayer_profile_remove_document (CodeSlayerProfile *profile
,CodeSlayerDocument *document
);
|
a CodeSlayerProfile. |
|
the CodeSlayerDocument to remove from the profile. |
void codeslayer_profile_remove_all_documents
(CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
CodeSlayerRegistry * codeslayer_profile_get_registry (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
The CodeSlayerRegistry* for the profile. |
GList * codeslayer_profile_get_plugins (CodeSlayerProfile *profile
);
|
a CodeSlayerProfile. |
Returns : |
The list of CodeSlayerPlugin plugin objects within the profile. For internal use only. |
void codeslayer_profile_set_plugins (CodeSlayerProfile *profile
,GList *plugins
);
|
a CodeSlayerProfile. |
|
the list of CodeSlayerPlugin plugin objects to add to the profile. |
gboolean codeslayer_profile_contains_plugin (CodeSlayerProfile *profile
,const gchar *plugin
);
|
a CodeSlayerProfile. |
|
the plugin to find. |
Returns : |
is TRUE if the plugin is found in the profile. |
void codeslayer_profile_add_plugin (CodeSlayerProfile *profile
,const gchar *plugin
);
|
a CodeSlayerProfile. |
|
the plugin to add. |
void codeslayer_profile_remove_plugin (CodeSlayerProfile *profile
,const gchar *plugin
);
|
a CodeSlayerProfile. |
|
the plugin to remove. |