port-probe: allow cancellation
This commit is contained in:
@@ -811,6 +811,7 @@ mm_plugin_supports_port (MMPlugin *self,
|
||||
self->priv->send_lf,
|
||||
self->priv->custom_at_probe,
|
||||
self->priv->custom_init,
|
||||
cancellable,
|
||||
(GAsyncReadyCallback) port_probe_run_ready,
|
||||
task);
|
||||
}
|
||||
|
1012
src/mm-port-probe.c
1012
src/mm-port-probe.c
File diff suppressed because it is too large
Load Diff
@@ -113,12 +113,12 @@ void mm_port_probe_run (MMPortProbe *self,
|
||||
gboolean at_send_lf,
|
||||
const MMPortProbeAtCommand *at_custom_probe,
|
||||
const MMAsyncMethod *at_custom_init,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
gboolean mm_port_probe_run_finish (MMPortProbe *self,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
gboolean mm_port_probe_run_cancel (MMPortProbe *self);
|
||||
|
||||
gboolean mm_port_probe_run_cancel_at_probing (MMPortProbe *self);
|
||||
|
||||
|
Reference in New Issue
Block a user