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.

Available since:3.32

Parameters

cancellable GCancellable
 

A GCancellable or NULL.

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

A callback to execute upon completion.

user_data gpointer
 

Closure data for callback.

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