Interface
IdeRuntimeProvider
Prerequisite
In order to implement RuntimeProvider, your type must inherit from
IdeObject
.
Instance methods
ide_runtime_provider_bootstrap_async
This function allows to the runtime provider to install dependent runtimes similar to ide_runtime_provider_install_async(), but with the added benefit that it can access the pipeline for more information. For example, it may want to check the architecture of the pipeline, or the connected device for tweaks as to what runtime to use.
Available since: 3.32
ide_runtime_provider_bootstrap_finish
Completes the asynchronous request to bootstrap.
Available since: 3.32
ide_runtime_provider_load
ide_runtime_provider_provides
ide_runtime_provider_unload
Interface structure
struct IdeRuntimeProviderInterface {
GTypeInterface parent;
void (* load) (
IdeRuntimeProvider* self,
IdeRuntimeManager* manager
);
void (* unload) (
IdeRuntimeProvider* self,
IdeRuntimeManager* manager
);
gboolean (* provides) (
IdeRuntimeProvider* self,
const gchar* runtime_id
);
void (* bootstrap_async) (
IdeRuntimeProvider* self,
IdePipeline* pipeline,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
IdeRuntime* (* bootstrap_finish) (
IdeRuntimeProvider* self,
GAsyncResult* result,
GError** error
);
}
Interface members
parent |
|
No description available. | |
load |
|
No description available. | |
unload |
|
No description available. | |
provides |
|
No description available. | |
bootstrap_async |
|
No description available. | |
bootstrap_finish |
|
No description available. |
Virtual methods
Ide.RuntimeProvider.bootstrap_async
This function allows to the runtime provider to install dependent runtimes similar to ide_runtime_provider_install_async(), but with the added benefit that it can access the pipeline for more information. For example, it may want to check the architecture of the pipeline, or the connected device for tweaks as to what runtime to use.
Ide.RuntimeProvider.bootstrap_finish
Completes the asynchronous request to bootstrap.