Constructor
CogShellnew
Declaration [src]
CogShell*
cog_shell_new (
const char* name,
gboolean automated
)
Parameters
name |
const char* |
Name of the shell. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
automated |
gboolean |
Whether this shell is controlled by automation. |
Return value
Returns: | CogShell |
A new shell instance. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |