Virtual Method

IdeConfigProviderload_async

Declaration

void
load_async (
  IdeConfigProvider* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

This function is called to initialize the configuration provider after the plugin instance has been created. The provider should locate any build configurations within the project and call ide_config_provider_emit_added() before completing the asynchronous function so that the configuration manager may be made aware of the configurations.

Parameters

cancellable

Type: GCancellable

A GCancellable or NULL.

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

Type: GAsyncReadyCallback

A callback to execute upon completion.

user_data

Type: gpointer

Closure data for callback.

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