diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index f1c8aa4..b2ef401 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -33,6 +33,16 @@ unsigned int utouch_frame_get_version(void) | |||
| 33 | return UTOUCH_FRAME_VERSION; | 33 | return UTOUCH_FRAME_VERSION; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | unsigned int utouch_frame_get_num_frames(utouch_frame_handle fh) | ||
| 37 | { | ||
| 38 | return fh->num_frames; | ||
| 39 | } | ||
| 40 | |||
| 41 | unsigned int utouch_frame_get_num_slots(utouch_frame_handle fh) | ||
| 42 | { | ||
| 43 | return fh->num_slots; | ||
| 44 | } | ||
| 45 | |||
| 36 | static void destroy_slots(struct utouch_contact **slots, int nslot) | 46 | static void destroy_slots(struct utouch_contact **slots, int nslot) |
| 37 | { | 47 | { |
| 38 | int i; | 48 | int i; |
