virtual-device: Add support for sleep command

It can be used to delay operations, simulating a busy device.
This commit is contained in:
Marco Trevisan (Treviño)
2021-01-25 16:41:55 +01:00
parent 89b4c4ee75
commit 18db20d160
3 changed files with 53 additions and 3 deletions
@@ -78,6 +78,7 @@ struct _FpDeviceVirtualDevice
GHashTable *prints_storage;
guint wait_command_id;
guint sleep_timeout_id;
guint enroll_stages_passed;
};