virtual-device: Make cancellation support toggable

We may want to have the device to sleep while releasing an operation,
this will allow to do it.
This commit is contained in:
Marco Trevisan (Treviño)
2021-01-25 17:10:00 +01:00
parent 993109a7f8
commit 3693c39bc5
3 changed files with 53 additions and 1 deletions
@@ -80,6 +80,7 @@ struct _FpDeviceVirtualDevice
guint wait_command_id;
guint sleep_timeout_id;
guint enroll_stages_passed;
gboolean supports_cancellation;
};
/* Not really final here, but we can do this to share the FpDeviceVirtualDevice