Virtual Method
IdeProjectTemplateexpand_async
Declaration
void
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 function. scope-
Type:
TmplScopeScope for the template.
The data is owned by the caller of the function. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackThe callback for the asynchronous operation.
user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the function.