Constructor
CogShellnew
Declaration [src]
CogShell*
cog_shell_new (
const char* name,
gboolean automated
)
Parameters
name
-
Type:
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
-
Type:
gboolean
Whether this shell is controlled by automation.
Return value
Type: CogShell
A new shell instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |