Top | ![]() |
![]() |
![]() |
![]() |
gchar * | ide_build_system_get_id () |
gchar * | ide_build_system_get_display_name () |
void | ide_build_system_new_async () |
IdeBuildSystem * | ide_build_system_new_finish () |
gint | ide_build_system_get_priority () |
gchar * | ide_build_system_get_builddir () |
void | ide_build_system_get_build_flags_async () |
gchar ** | ide_build_system_get_build_flags_finish () |
void | ide_build_system_get_build_flags_for_files_async () |
GHashTable * | ide_build_system_get_build_flags_for_files_finish () |
void | ide_build_system_get_build_flags_for_dir_async () |
GHashTable * | ide_build_system_get_build_flags_for_dir_finish () |
gboolean | ide_build_system_supports_toolchain () |
gchar *
ide_build_system_get_display_name (IdeBuildSystem *self
);
void ide_build_system_new_async (IdeContext *context
,GFile *project_file
,const gchar *build_system_hint
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a new IdeBuildSystem instance using the registered
GIOExtensionPoint system. Each extension point will be tried asynchronously
by priority until one has been found that supports project_file
.
If no build system could be found, then ide_build_system_new_finish()
will
return NULL
.
IdeBuildSystem * ide_build_system_new_finish (GAsyncResult *result
,GError **error
);
Complete an asynchronous call to ide_build_system_new_async()
.
gchar * ide_build_system_get_builddir (IdeBuildSystem *self
,IdeBuildPipeline *pipeline
);
void ide_build_system_get_build_flags_async (IdeBuildSystem *self
,IdeFile *file
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
gchar ** ide_build_system_get_build_flags_finish (IdeBuildSystem *self
,GAsyncResult *result
,GError **error
);
void ide_build_system_get_build_flags_for_files_async (IdeBuildSystem *self
,GPtrArray *files
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
This function will get build flags for all files and returns map of file and its build flags as GHashTable.
self |
An IdeBuildSystem instance. |
|
files |
array of files whose build flags has to be retrieved. |
[element-type Ide.File] |
cancellable |
a GCancellable to cancel getting build flags. |
[allow-none] |
callback |
function to be called after getting build flags. |
|
user_data |
data to pass to |
GHashTable * ide_build_system_get_build_flags_for_files_finish (IdeBuildSystem *self
,GAsyncResult *result
,GError **error
);
Since: 3.28
void ide_build_system_get_build_flags_for_dir_async (IdeBuildSystem *self
,GFile *directory
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
GHashTable * ide_build_system_get_build_flags_for_dir_finish (IdeBuildSystem *self
,GAsyncResult *result
,GError **error
);
gboolean ide_build_system_supports_toolchain (IdeBuildSystem *self
,IdeToolchain *toolchain
);
Checks whether the build system supports the given toolchain.
struct IdeBuildSystemInterface { GTypeInterface parent_iface; gint (*get_priority) (IdeBuildSystem *self); void (*get_build_flags_async) (IdeBuildSystem *self, IdeFile *file, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); gchar **(*get_build_flags_finish) (IdeBuildSystem *self, GAsyncResult *result, GError **error); void (*get_build_flags_for_files_async) (IdeBuildSystem *self, GPtrArray *files, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); GHashTable *(*get_build_flags_for_files_finish) (IdeBuildSystem *self, GAsyncResult *result, GError **error); gchar *(*get_builddir) (IdeBuildSystem *self, IdeBuildPipeline *pipeline); gchar *(*get_id) (IdeBuildSystem *self); gchar *(*get_display_name) (IdeBuildSystem *self); gboolean (*supports_toolchain) (IdeBuildSystem *self, IdeToolchain *toolchain); };