fp-print: Add FP_FINGER_IS_VALID
This is coming directly from fprintd, but being something generic is better to have it insinde libfprint itself.
This commit is contained in:
parent
c9e1a7f283
commit
b8e558452a
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ G_BEGIN_DECLS
|
|||
#define FP_TYPE_PRINT (fp_print_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (FpPrint, fp_print, FP, PRINT, GInitiallyUnowned)
|
||||
|
||||
#define FP_FINGER_IS_VALID(finger) \
|
||||
((finger) >= FP_FINGER_FIRST && (finger) <= FP_FINGER_LAST)
|
||||
|
||||
#include "fp-device.h"
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue