fp-image-device: Move fpi code into its own unit that can be compiled a part

In order to be able to test the private device code (used by drivers) we
need to have that split a part in a different .c file so that we can compile
it alone and link with it both the shared library and the test executables.

Redefine fp_image_device_get_instance_private for private usage, not to move
the private struct as part of FpDevice.
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-11 13:40:47 +01:00
parent d9de941a47
commit ae7021e529
4 changed files with 643 additions and 581 deletions

View File

@@ -9,6 +9,7 @@ libfprint_sources = [
libfprint_private_sources = [
'fpi-assembling.c',
'fpi-device.c',
'fpi-image-device.c',
'fpi-ssm.c',
'fpi-usb-transfer.c',
'fpi-byte-reader.c',