Class
IdeDeployStrategy
Instance methods
ide_deploy_strategy_deploy_async
Requests that the IdeDeployStrategy
deploy the application to the
configured device in the build pipeline.
ide_deploy_strategy_deploy_finish
Completes an asynchronous request to deploy the application to the build pipeline’s device.
ide_deploy_strategy_load_async
Asynchronously requests that the IdeDeployStrategy
load anything
necessary to support deployment for pipeline
. If the strategy cannot
support the pipeline, it should fail with G_IO_ERROR
error domain
and G_IO_ERROR_NOT_SUPPORTED
error code.
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 IdeDeployStrategyClass {
IdeObjectClass parent;
void (* load_async) (
IdeDeployStrategy* self,
IdePipeline* pipeline,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* load_finish) (
IdeDeployStrategy* self,
GAsyncResult* result,
int* priority,
GError** error
);
void (* deploy_async) (
IdeDeployStrategy* self,
IdePipeline* pipeline,
GFileProgressCallback progress,
gpointer progress_data,
GDestroyNotify progress_data_destroy,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* deploy_finish) (
IdeDeployStrategy* self,
GAsyncResult* result,
GError** error
);
void (* prepare_run_context) (
IdeDeployStrategy* self,
IdePipeline* pipeline,
IdeRunContext* run_context
);
}
Class members
parent: IdeObjectClass
- No description available.
load_async: void (* load_async) ( IdeDeployStrategy* self, IdePipeline* pipeline, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
load_finish: gboolean (* load_finish) ( IdeDeployStrategy* self, GAsyncResult* result, int* priority, GError** error )
- No description available.
deploy_async: void (* deploy_async) ( IdeDeployStrategy* self, IdePipeline* pipeline, GFileProgressCallback progress, gpointer progress_data, GDestroyNotify progress_data_destroy, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
deploy_finish: gboolean (* deploy_finish) ( IdeDeployStrategy* self, GAsyncResult* result, GError** error )
- No description available.
prepare_run_context: void (* prepare_run_context) ( IdeDeployStrategy* self, IdePipeline* pipeline, IdeRunContext* run_context )
- No description available.
Virtual methods
Ide.DeployStrategyClass.deploy_async
Requests that the IdeDeployStrategy
deploy the application to the
configured device in the build pipeline.
Ide.DeployStrategyClass.deploy_finish
Completes an asynchronous request to deploy the application to the build pipeline’s device.
Ide.DeployStrategyClass.load_async
Asynchronously requests that the IdeDeployStrategy
load anything
necessary to support deployment for pipeline
. If the strategy cannot
support the pipeline, it should fail with G_IO_ERROR
error domain
and G_IO_ERROR_NOT_SUPPORTED
error code.
Ide.DeployStrategyClass.load_finish
Completes an asynchronous request to load the IdeDeployStrategy
.