Class
IdeConfig
Instance methods
ide_config_get_extensions
Gets the known SDK extensions that will be used when building the project. Implementing this in your configuration backend allows plugins to know if additional binaries will be available to the build system.
ide_config_get_run_opts
Gets the command line options to use when running the target application.
The result should be parsed with g_shell_parse_argv()
to convert the run
options to an array suitable for use in argv.
ide_config_get_sequence
This returns a sequence number for the configuration. This is useful for build systems that want to clear the “dirty” bit on the configuration so that they need not bootstrap a second time. This should be done by checking the sequence number before executing the bootstrap, and only cleared if the sequence number matches after performing the bootstrap. This indicates no changes have been made to the configuration in the mean time.
ide_config_set_run_opts
Sets the run options to use when running the target application.
See ide_config_get_run_opts()
for more information.
ide_config_translate_file
Requests translation of the file path to one available in the current process. That might mean translating to a path that allows access outside Builder’s sandbox such as using /var/run/host or depoy-directories of OSTree commits.
Properties
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 IdeConfigClass {
IdeObjectClass parent;
IdeRuntime* (* get_runtime) (
IdeConfig* self
);
void (* set_runtime) (
IdeConfig* self,
IdeRuntime* runtime
);
gboolean (* supports_runtime) (
IdeConfig* self,
IdeRuntime* runtime
);
GPtrArray* (* get_extensions) (
IdeConfig* self
);
char* (* get_description) (
IdeConfig* self
);
GFile* (* translate_file) (
IdeConfig* self,
GFile* file
);
}
Class members
parent: IdeObjectClass
- No description available.
get_runtime: IdeRuntime* (* get_runtime) ( IdeConfig* self )
- No description available.
set_runtime: void (* set_runtime) ( IdeConfig* self, IdeRuntime* runtime )
- No description available.
supports_runtime: gboolean (* supports_runtime) ( IdeConfig* self, IdeRuntime* runtime )
- No description available.
get_extensions: GPtrArray* (* get_extensions) ( IdeConfig* self )
- No description available.
get_description: char* (* get_description) ( IdeConfig* self )
- No description available.
translate_file: GFile* (* translate_file) ( IdeConfig* self, GFile* file )
- No description available.
Virtual methods
Ide.ConfigClass.get_extensions
Gets the known SDK extensions that will be used when building the project. Implementing this in your configuration backend allows plugins to know if additional binaries will be available to the build system.
Ide.ConfigClass.translate_file
Requests translation of the file path to one available in the current process. That might mean translating to a path that allows access outside Builder’s sandbox such as using /var/run/host or depoy-directories of OSTree commits.