Method
IdeProjectTemplateexpand_async
Declaration
void
ide_project_template_expand_async (
IdeProjectTemplate* self,
IdeTemplateInput* input,
TmplScope* scope,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously requests expansion of the template.
This may involve creating files and directories on disk as well as
expanding files based on the contents of params.
It is expected that this method is only called once on an IdeProjectTemplate.
Parameters
input-
Type:
IdeTemplateInputThe template input.
The data is owned by the caller of the method. scope-
Type:
TmplScopeScope for the template.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback for the asynchronous operation.
The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.