Method

IdeBuildTargetProviderget_targets_async

Declaration

void
ide_build_target_provider_get_targets_async (
  IdeBuildTargetProvider* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously requests that the provider fetch all of the known build targets that are part of the project. Generally this should be limited to executables that Builder might be interested in potentially running.

callback should call ide_build_target_provider_get_targets_finish() to complete the asynchronous operation.

See also: ide_build_target_provider_get_targets_finish()

Parameters

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

A callback to execute upon completion.

The argument can be NULL.
user_data

Type: gpointer

Closure data for callback.

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