| CodeSlayer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#include <codeslayer/codeslayer-project.h> struct CodeSlayerProject; CodeSlayerProject * codeslayer_project_new (void); const gchar * codeslayer_project_get_name (CodeSlayerProject *project); void codeslayer_project_set_name (CodeSlayerProject *project,const gchar *name); const gchar * codeslayer_project_get_key (CodeSlayerProject *project); void codeslayer_project_set_key (CodeSlayerProject *project,const gchar *key); const gchar * codeslayer_project_get_folder_path (CodeSlayerProject *project); void codeslayer_project_set_folder_path (CodeSlayerProject *project,const gchar *folder_path);
"folder-path" gchar* : Read / Write "key" gchar* : Read / Write "name" gchar* : Read / Write
CodeSlayerProject * codeslayer_project_new (void);
Creates a new CodeSlayerProject.
Returns : |
a new CodeSlayerProject. |
const gchar * codeslayer_project_get_name (CodeSlayerProject *project);
|
a CodeSlayerProject. |
Returns : |
the text to display for the project. |
void codeslayer_project_set_name (CodeSlayerProject *project,const gchar *name);
|
a CodeSlayerProject. |
|
the text to display for the project. |
const gchar * codeslayer_project_get_key (CodeSlayerProject *project);
|
a CodeSlayerProject. |
Returns : |
the unique identifier for the project |
void codeslayer_project_set_key (CodeSlayerProject *project,const gchar *key);
|
a CodeSlayerProject. |
|
the unique identifier for the project |
const gchar * codeslayer_project_get_folder_path (CodeSlayerProject *project);
|
a CodeSlayerProject. |
Returns : |
the fully qualified path to the project. |
void codeslayer_project_set_folder_path (CodeSlayerProject *project,const gchar *folder_path);
Note: this is not a URI, but rather a normal file path.
|
a CodeSlayerDocument. |
|
the fully qualified path to the project. |