fp-device: Add a "open" property and method to check its state

This commit is contained in:
Marco Trevisan (Treviño)
2019-12-05 15:05:59 +01:00
parent d01bb41b7c
commit 92a5278a74
2 changed files with 33 additions and 1 deletions

View File

@@ -129,6 +129,7 @@ typedef void (*FpEnrollProgress) (FpDevice *device,
const gchar *fp_device_get_driver (FpDevice *device);
const gchar *fp_device_get_device_id (FpDevice *device);
const gchar *fp_device_get_name (FpDevice *device);
gboolean fp_device_is_open (FpDevice *device);
FpScanType fp_device_get_scan_type (FpDevice *device);
gint fp_device_get_nr_enroll_stages (FpDevice *device);