diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-09-09 20:45:37 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:20 +0100 |
commit | f7b1d99fa0ac00889a65b22905939e4f86061902 (patch) | |
tree | 9395179ec625cdd60fa06c38ea42b8b9c4663d9e /src/mm-port-probe.h | |
parent | f227572d8f1f8516e2ea2a38bf7a8a73387165d5 (diff) |
port-probe: allow cancelling the probing operation
The new `mm_port_probe_cancel()' will cancel the probing operation currently in
progress, if any. Note that we don't need to pass any argument to specify which
operation to cancel, as there can only be one.
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r-- | src/mm-port-probe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h index 7db56100..e2eff8a6 100644 --- a/src/mm-port-probe.h +++ b/src/mm-port-probe.h @@ -62,6 +62,7 @@ void mm_port_probe_run (MMPortProbe *self, gboolean mm_port_probe_run_finish (MMPortProbe *self, GAsyncResult *result, GError **error); +gboolean mm_port_probe_run_cancel (MMPortProbe *self); #endif /* MM_PORT_PROBE_H */ |