Class
IdeRuntime
Constructors
ide_runtime_new
Instance methods
ide_runtime_contains_program_in_path
ide_runtime_create_runner
Creates a new runner that can be used to execute the build target within the runtime. This should be used to implement such features as “run target” or “run unit test” inside the target runtime.
Available since: 3.32
ide_runtime_get_category
ide_runtime_get_display_name
ide_runtime_get_id
ide_runtime_get_name
ide_runtime_get_short_id
ide_runtime_get_system_include_dirs
Gets the system include dirs for the runtime. Usually, this is just “/usr/include”, but more complex runtimes may include additional.
Available since: 3.32
ide_runtime_prepare_configuration
ide_runtime_set_category
ide_runtime_set_display_name
ide_runtime_set_id
ide_runtime_set_name
ide_runtime_set_short_id
ide_runtime_supports_toolchain
Informs wether a toolchain is supported by this.
Available since: 3.32
ide_runtime_translate_file
Translates the file from a path within the runtime to a path that can be accessed from the host system.
Available since: 3.32
Properties
Ide.Runtime:category
Ide.Runtime:display-name
Ide.Runtime:id
Ide.Runtime:name
Ide.Runtime:short-id
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Available since: 3.32
Ide.Object:parent
The parent IdeObject
, if any.
Available since: 3.32
Signals
Signals inherited from IdeObject (1)
Ide.Object::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
Available since: 3.32
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct IdeRuntimeClass {
IdeObjectClass parent;
gboolean (* contains_program_in_path) (
IdeRuntime* self,
const gchar* program,
GCancellable* cancellable
);
IdeSubprocessLauncher* (* create_launcher) (
IdeRuntime* self,
GError** error
);
void (* prepare_configuration) (
IdeRuntime* self,
IdeConfig* configuration
);
IdeRunner* (* create_runner) (
IdeRuntime* self,
IdeBuildTarget* build_target
);
GFile* (* translate_file) (
IdeRuntime* self,
GFile* file
);
gchar** (* get_system_include_dirs) (
IdeRuntime* self
);
IdeTriplet* (* get_triplet) (
IdeRuntime* self
);
gboolean (* supports_toolchain) (
IdeRuntime* self,
IdeToolchain* toolchain
);
}
Class members
parent |
|
No description available. | |
contains_program_in_path |
|
No description available. | |
create_launcher |
|
No description available. | |
prepare_configuration |
|
No description available. | |
create_runner |
|
No description available. | |
translate_file |
|
No description available. | |
get_system_include_dirs |
|
No description available. | |
get_triplet |
|
No description available. | |
supports_toolchain |
|
No description available. |
Virtual methods
Ide.RuntimeClass.contains_program_in_path
Ide.RuntimeClass.create_runner
Creates a new runner that can be used to execute the build target within the runtime. This should be used to implement such features as “run target” or “run unit test” inside the target runtime.
Available since: 3.32
Ide.RuntimeClass.get_system_include_dirs
Gets the system include dirs for the runtime. Usually, this is just “/usr/include”, but more complex runtimes may include additional.
Available since: 3.32
Ide.RuntimeClass.prepare_configuration
Ide.RuntimeClass.supports_toolchain
Informs wether a toolchain is supported by this.
Available since: 3.32
Ide.RuntimeClass.translate_file
Translates the file from a path within the runtime to a path that can be accessed from the host system.
Available since: 3.32