Class

IdeRuntime

Description

class Ide.Runtime : Ide.Object
{
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeRuntime ancestor_0 IdeObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Constructors

ide_runtime_new
No description available.

Instance methods

ide_runtime_contains_program_in_path
No description available.

ide_runtime_get_arch

Gets the architecture of the runtime.

ide_runtime_get_category
No description available.

ide_runtime_get_display_name
No description available.

ide_runtime_get_icon_name
No description available.

ide_runtime_get_id
No description available.

ide_runtime_get_name
No description available.

ide_runtime_get_short_id
No description available.

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.

ide_runtime_get_triplet

Gets the architecture triplet of the runtime.

ide_runtime_prepare_configuration
No description available.

ide_runtime_prepare_to_build

Prepares a run context for running a build command.

ide_runtime_prepare_to_run

Prepares a run context to run an application.

ide_runtime_set_category
No description available.

ide_runtime_set_display_name
No description available.

ide_runtime_set_icon_name
No description available.

ide_runtime_set_id
No description available.

ide_runtime_set_name
No description available.

ide_runtime_set_short_id
No description available.

ide_runtime_supports_toolchain

Informs wether a toolchain is supported by this.

ide_runtime_translate_file

Translates the file from a path within the runtime to a path that can be accessed from the host system.

Methods inherited from IdeObject (29)

Please see IdeObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Ide.Runtime:category
No description available.

Ide.Runtime:display-name
No description available.

Ide.Runtime:icon-name
No description available.

Ide.Runtime:id
No description available.

Ide.Runtime:name
No description available.

Ide.Runtime:short-id
No description available.

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.

Ide.Object:parent

The parent IdeObject, if any.

Signals

Signals inherited from IdeObject (1)
IdeObject::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.

Signals inherited from GObject (1)
GObject::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
  );
  void (* prepare_configuration) (
    IdeRuntime* self,
    IdeConfig* config
  );
  void (* prepare_to_run) (
    IdeRuntime* self,
    IdePipeline* pipeline,
    IdeRunContext* run_context
  );
  void (* prepare_to_build) (
    IdeRuntime* self,
    IdePipeline* pipeline,
    IdeRunContext* run_context
  );
  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
  );
  
}
No description available.
Class members
parent: IdeObjectClass
No description available.
contains_program_in_path: gboolean (* contains_program_in_path) ( IdeRuntime* self, const gchar* program, GCancellable* cancellable )
No description available.
prepare_configuration: void (* prepare_configuration) ( IdeRuntime* self, IdeConfig* config )
No description available.
prepare_to_run: void (* prepare_to_run) ( IdeRuntime* self, IdePipeline* pipeline, IdeRunContext* run_context )
No description available.
prepare_to_build: void (* prepare_to_build) ( IdeRuntime* self, IdePipeline* pipeline, IdeRunContext* run_context )
No description available.
translate_file: GFile* (* translate_file) ( IdeRuntime* self, GFile* file )
No description available.
get_system_include_dirs: gchar** (* get_system_include_dirs) ( IdeRuntime* self )
No description available.
get_triplet: IdeTriplet* (* get_triplet) ( IdeRuntime* self )
No description available.
supports_toolchain: gboolean (* supports_toolchain) ( IdeRuntime* self, IdeToolchain* toolchain )
No description available.

Virtual methods

Ide.RuntimeClass.contains_program_in_path
No description available.

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.

Ide.RuntimeClass.get_triplet

Gets the architecture triplet of the runtime.

Ide.RuntimeClass.prepare_configuration
No description available.

Ide.RuntimeClass.prepare_to_build

Prepares a run context for running a build command.

Ide.RuntimeClass.prepare_to_run

Prepares a run context to run an application.

Ide.RuntimeClass.supports_toolchain

Informs wether a toolchain is supported by this.

Ide.RuntimeClass.translate_file

Translates the file from a path within the runtime to a path that can be accessed from the host system.