diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-02-17 11:05:48 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-17 11:05:48 +0100 |
| commit | dca27172b0f27fd121ee43a7cc62176a84b44fc5 (patch) | |
| tree | 8f5952a3d3d903df09ffb57f777177552de47b7d /include/utouch/frame.h | |
| parent | d619da633517175ffa6977a80760673628f91583 (diff) | |
Add functions to extract number of frames and slots
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/utouch/frame.h')
| -rw-r--r-- | include/utouch/frame.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/utouch/frame.h b/include/utouch/frame.h index 60195ef..318ce4b 100644 --- a/include/utouch/frame.h +++ b/include/utouch/frame.h | |||
| @@ -189,6 +189,20 @@ struct utouch_frame { | |||
| 189 | */ | 189 | */ |
| 190 | unsigned int utouch_frame_get_version(void); | 190 | unsigned int utouch_frame_get_version(void); |
| 191 | 191 | ||
| 192 | /** | ||
| 193 | * utouch_frame_get_num_frames - get number of supported frames | ||
| 194 | * | ||
| 195 | * Returns the number of frames supported by this engine. | ||
| 196 | */ | ||
| 197 | unsigned int utouch_frame_get_num_frames(utouch_frame_handle fh); | ||
| 198 | |||
| 199 | /** | ||
| 200 | * utouch_frame_get_num_slots - get number of supported slots | ||
| 201 | * | ||
| 202 | * Returns the number of simultaneous contacts supported by this engine. | ||
| 203 | */ | ||
| 204 | unsigned int utouch_frame_get_num_slots(utouch_frame_handle fh); | ||
| 205 | |||
| 192 | utouch_frame_handle utouch_frame_new_engine_raw(unsigned int num_frames, | 206 | utouch_frame_handle utouch_frame_new_engine_raw(unsigned int num_frames, |
| 193 | unsigned int num_slots, | 207 | unsigned int num_slots, |
| 194 | unsigned int frame_rate, | 208 | unsigned int frame_rate, |
