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:
IdeTemplateInput
The template input.
The data is owned by the caller of the function. scope
-
Type:
TmplScope
Scope for the template.
The data is owned by the caller of the function. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
The callback for the asynchronous operation.
user_data
-
Type:
gpointer
User data for
callback
.The argument can be NULL
.The data is owned by the caller of the function.