Remove use of finger number in the API

Use well-defined strings instead of numbers to pass around
specific fingers in the public API.
This commit is contained in:
Bastien Nocera
2008-11-19 20:05:54 +00:00
committed by Daniel Drake
parent ea4114b976
commit 1e43720c15
6 changed files with 117 additions and 166 deletions

View File

@ -6,7 +6,7 @@
<method name="ListEnrolledFingers">
<arg type="s" name="username" direction="in" />
<arg type="au" name="enrolled_fingers" direction="out" />
<arg type="as" name="enrolled_fingers" direction="out" />
<annotation name="org.freedesktop.DBus.GLib.Async" value="" />
</method>
@ -25,7 +25,7 @@
</method>
<method name="VerifyStart">
<arg type="u" name="print_id" direction="in" />
<arg type="s" name="finger_name" direction="in" />
<annotation name="org.freedesktop.DBus.GLib.Async" value="" />
</method>
@ -34,7 +34,7 @@
</method>
<signal name="VerifyFingerSelected">
<arg type="i" name="finger_num" />
<arg type="s" name="finger_name" />
</signal>
<signal name="VerifyStatus">
@ -42,7 +42,7 @@
</signal>
<method name="EnrollStart">
<arg type="u" name="finger_num" direction="in" />
<arg type="s" name="finger_name" direction="in" />
<annotation name="org.freedesktop.DBus.GLib.Async" value="" />
</method>