Method
IdeToolchainProviderload_async
Declaration
void
ide_toolchain_provider_load_async (
IdeToolchainProvider* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
This function is called to initialize the toolchain provider after
the plugin instance has been created. The provider should locate any
toolchain within the project and call ide_toolchain_provider_emit_added()
before completing the asynchronous function so that the toolchain
manager may be made aware of the toolchains.
Parameters
cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.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.