mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests: Add support for creating other virtual readers
Add support for creating more virtual readers. Co-authored-by: Bastien Nocera <hadess@hadess.net>
This commit is contained in:
@@ -19,7 +19,12 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
void fpt_setup_virtual_device_environment (void);
|
||||
typedef enum {
|
||||
FPT_VIRTUAL_DEVICE_IMAGE = 0,
|
||||
FPT_NUM_VIRTUAL_DEVICE_TYPES
|
||||
} FptVirtualDeviceType;
|
||||
|
||||
void fpt_setup_virtual_device_environment (FptVirtualDeviceType devtype);
|
||||
void fpt_teardown_virtual_device_environment (void);
|
||||
|
||||
typedef struct _FptContext
|
||||
@@ -30,7 +35,7 @@ typedef struct _FptContext
|
||||
} FptContext;
|
||||
|
||||
FptContext * fpt_context_new (void);
|
||||
FptContext * fpt_context_new_with_virtual_imgdev (void);
|
||||
FptContext * fpt_context_new_with_virtual_device (FptVirtualDeviceType devtype);
|
||||
|
||||
void fpt_context_free (FptContext *test_context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user