_build/libfprint/fpi-drivers.c
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <glib-object.h> | ||
| 2 | #include "fpi-context.h" | ||
| 3 | |||
| 4 | extern GType (fpi_device_upektc_img_get_type) (void); | ||
| 5 | extern GType (fpi_device_vfs5011_get_type) (void); | ||
| 6 | extern GType (fpi_device_vfs7552_get_type) (void); | ||
| 7 | extern GType (fpi_device_aes3500_get_type) (void); | ||
| 8 | extern GType (fpi_device_aes4000_get_type) (void); | ||
| 9 | extern GType (fpi_device_aes1610_get_type) (void); | ||
| 10 | extern GType (fpi_device_aes1660_get_type) (void); | ||
| 11 | extern GType (fpi_device_aes2660_get_type) (void); | ||
| 12 | extern GType (fpi_device_aes2501_get_type) (void); | ||
| 13 | extern GType (fpi_device_aes2550_get_type) (void); | ||
| 14 | extern GType (fpi_device_vfs101_get_type) (void); | ||
| 15 | extern GType (fpi_device_vfs301_get_type) (void); | ||
| 16 | extern GType (fpi_device_vfs0050_get_type) (void); | ||
| 17 | extern GType (fpi_device_etes603_get_type) (void); | ||
| 18 | extern GType (fpi_device_egis0570_get_type) (void); | ||
| 19 | extern GType (fpi_device_egismoc_get_type) (void); | ||
| 20 | extern GType (fpi_device_egis_etu905_get_type) (void); | ||
| 21 | extern GType (fpi_device_vcom5s_get_type) (void); | ||
| 22 | extern GType (fpi_device_synaptics_get_type) (void); | ||
| 23 | extern GType (fpi_device_elan_get_type) (void); | ||
| 24 | extern GType (fpi_device_elanmoc_get_type) (void); | ||
| 25 | extern GType (fpi_device_uru4000_get_type) (void); | ||
| 26 | extern GType (fpi_device_upektc_get_type) (void); | ||
| 27 | extern GType (fpi_device_upeksonly_get_type) (void); | ||
| 28 | extern GType (fpi_device_upekts_get_type) (void); | ||
| 29 | extern GType (fpi_device_goodixmoc_get_type) (void); | ||
| 30 | extern GType (fpi_device_nb1010_get_type) (void); | ||
| 31 | extern GType (fpi_device_fpcmoc_get_type) (void); | ||
| 32 | extern GType (fpi_device_realtek_get_type) (void); | ||
| 33 | extern GType (fpi_device_focaltech_moc_get_type) (void); | ||
| 34 | extern GType (fpi_device_elanspi_get_type) (void); | ||
| 35 | extern GType (fpi_device_virtual_image_get_type) (void); | ||
| 36 | extern GType (fpi_device_virtual_device_get_type) (void); | ||
| 37 | extern GType (fpi_device_virtual_device_storage_get_type) (void); | ||
| 38 | |||
| 39 | GArray * | ||
| 40 | 146 | fpi_get_driver_types (void) | |
| 41 | { | ||
| 42 | 146 | GArray *drivers = g_array_new (TRUE, FALSE, sizeof (GType)); | |
| 43 | 146 | GType t; | |
| 44 | |||
| 45 | 146 | t = fpi_device_upektc_img_get_type (); | |
| 46 | 146 | g_array_append_val (drivers, t); | |
| 47 | |||
| 48 | 146 | t = fpi_device_vfs5011_get_type (); | |
| 49 | 146 | g_array_append_val (drivers, t); | |
| 50 | |||
| 51 | 146 | t = fpi_device_vfs7552_get_type (); | |
| 52 | 146 | g_array_append_val (drivers, t); | |
| 53 | |||
| 54 | 146 | t = fpi_device_aes3500_get_type (); | |
| 55 | 146 | g_array_append_val (drivers, t); | |
| 56 | |||
| 57 | 146 | t = fpi_device_aes4000_get_type (); | |
| 58 | 146 | g_array_append_val (drivers, t); | |
| 59 | |||
| 60 | 146 | t = fpi_device_aes1610_get_type (); | |
| 61 | 146 | g_array_append_val (drivers, t); | |
| 62 | |||
| 63 | 146 | t = fpi_device_aes1660_get_type (); | |
| 64 | 146 | g_array_append_val (drivers, t); | |
| 65 | |||
| 66 | 146 | t = fpi_device_aes2660_get_type (); | |
| 67 | 146 | g_array_append_val (drivers, t); | |
| 68 | |||
| 69 | 146 | t = fpi_device_aes2501_get_type (); | |
| 70 | 146 | g_array_append_val (drivers, t); | |
| 71 | |||
| 72 | 146 | t = fpi_device_aes2550_get_type (); | |
| 73 | 146 | g_array_append_val (drivers, t); | |
| 74 | |||
| 75 | 146 | t = fpi_device_vfs101_get_type (); | |
| 76 | 146 | g_array_append_val (drivers, t); | |
| 77 | |||
| 78 | 146 | t = fpi_device_vfs301_get_type (); | |
| 79 | 146 | g_array_append_val (drivers, t); | |
| 80 | |||
| 81 | 146 | t = fpi_device_vfs0050_get_type (); | |
| 82 | 146 | g_array_append_val (drivers, t); | |
| 83 | |||
| 84 | 146 | t = fpi_device_etes603_get_type (); | |
| 85 | 146 | g_array_append_val (drivers, t); | |
| 86 | |||
| 87 | 146 | t = fpi_device_egis0570_get_type (); | |
| 88 | 146 | g_array_append_val (drivers, t); | |
| 89 | |||
| 90 | 146 | t = fpi_device_egismoc_get_type (); | |
| 91 | 146 | g_array_append_val (drivers, t); | |
| 92 | |||
| 93 | 146 | t = fpi_device_egis_etu905_get_type (); | |
| 94 | 146 | g_array_append_val (drivers, t); | |
| 95 | |||
| 96 | 146 | t = fpi_device_vcom5s_get_type (); | |
| 97 | 146 | g_array_append_val (drivers, t); | |
| 98 | |||
| 99 | 146 | t = fpi_device_synaptics_get_type (); | |
| 100 | 146 | g_array_append_val (drivers, t); | |
| 101 | |||
| 102 | 146 | t = fpi_device_elan_get_type (); | |
| 103 | 146 | g_array_append_val (drivers, t); | |
| 104 | |||
| 105 | 146 | t = fpi_device_elanmoc_get_type (); | |
| 106 | 146 | g_array_append_val (drivers, t); | |
| 107 | |||
| 108 | 146 | t = fpi_device_uru4000_get_type (); | |
| 109 | 146 | g_array_append_val (drivers, t); | |
| 110 | |||
| 111 | 146 | t = fpi_device_upektc_get_type (); | |
| 112 | 146 | g_array_append_val (drivers, t); | |
| 113 | |||
| 114 | 146 | t = fpi_device_upeksonly_get_type (); | |
| 115 | 146 | g_array_append_val (drivers, t); | |
| 116 | |||
| 117 | 146 | t = fpi_device_upekts_get_type (); | |
| 118 | 146 | g_array_append_val (drivers, t); | |
| 119 | |||
| 120 | 146 | t = fpi_device_goodixmoc_get_type (); | |
| 121 | 146 | g_array_append_val (drivers, t); | |
| 122 | |||
| 123 | 146 | t = fpi_device_nb1010_get_type (); | |
| 124 | 146 | g_array_append_val (drivers, t); | |
| 125 | |||
| 126 | 146 | t = fpi_device_fpcmoc_get_type (); | |
| 127 | 146 | g_array_append_val (drivers, t); | |
| 128 | |||
| 129 | 146 | t = fpi_device_realtek_get_type (); | |
| 130 | 146 | g_array_append_val (drivers, t); | |
| 131 | |||
| 132 | 146 | t = fpi_device_focaltech_moc_get_type (); | |
| 133 | 146 | g_array_append_val (drivers, t); | |
| 134 | |||
| 135 | 146 | t = fpi_device_elanspi_get_type (); | |
| 136 | 146 | g_array_append_val (drivers, t); | |
| 137 | |||
| 138 | 146 | t = fpi_device_virtual_image_get_type (); | |
| 139 | 146 | g_array_append_val (drivers, t); | |
| 140 | |||
| 141 | 146 | t = fpi_device_virtual_device_get_type (); | |
| 142 | 146 | g_array_append_val (drivers, t); | |
| 143 | |||
| 144 | 146 | t = fpi_device_virtual_device_storage_get_type (); | |
| 145 | 146 | g_array_append_val (drivers, t); | |
| 146 | |||
| 147 | 146 | return drivers; | |
| 148 | } | ||
| 149 |