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: IdeTemplateInput

The template input.

The data is owned by the caller of the method.
scope

Type: TmplScope

Scope for the template.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

The callback for the asynchronous operation.

The argument can be NULL.
user_data

Type: gpointer

User data for callback.

The argument can be NULL.
The data is owned by the caller of the method.