Virtual Method
IdeRuntimeprepare_to_run
Declaration
void
prepare_to_run (
IdeRuntime* self,
IdePipeline* pipeline,
IdeRunContext* run_context
)
Description
Prepares a run context to run an application.
The virtual function implementation should add to the run context anything necessary to be able to run within the runtime.
That might include pushing a new layer so that the command will run within a subcommand such as “flatpak”, “jhbuild”, or “podman”.
This is meant to be able to run applications, so additional work is expected of runtimes to ensure access to things like graphical displays.
Parameters
pipeline
-
Type:
IdePipeline
An
IdePipeline
orNULL
for the current.The argument can be NULL
.The data is owned by the caller of the function. run_context
-
Type:
IdeRunContext
An
IdeRunContext
.The data is owned by the caller of the function.