| Top |
IdeRuntime * ide_runtime_manager_get_runtime (IdeRuntimeManager *self,const gchar *id);
Gets the runtime by its internal identifier.
void ide_runtime_manager_add (IdeRuntimeManager *self,IdeRuntime *runtime);
void ide_runtime_manager_remove (IdeRuntimeManager *self,IdeRuntime *runtime);
void ide_runtime_manager_ensure_async (IdeRuntimeManager *self,const gchar *runtime_id,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
This function will asynchronously check if a runtime is installed.
If it is not installed, it will check to see if any runtime provider can provide the runtime by installing it. If so, the runtime will be installed.
Call ide_runtime_manager_ensure_finish() to get the resulting runtime
or a GError in case of failure.
self |
||
runtime_id |
the id for an expected runtime |
|
cancellable |
a GCancellable or |
[nullable] |
callback |
a callback to call after execution |
|
user_data |
user data for |
IdeRuntime * ide_runtime_manager_ensure_finish (IdeRuntimeManager *self,GAsyncResult *result,GError **error);