3
* @brief Geis touch module internal interface
5
* Copyright 2011 Canonical Ltd.
7
* This library is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU Lesser General Public License as published by the Free
9
* Software Foundation; either version 3 of the License, or (at your option) any
12
* This library is distributed in the hope that it will be useful, but WITHOUT
13
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this program; if not, write to the Free Software Foundation, Inc.,
19
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
#include "geis/geis.h"
27
* @defgroup geis_touchset A Touch Container
32
* Creates a new, empty touch set.
34
GeisTouchSet geis_touchset_new();
37
* Destroys a touch set and all touches contained in it.
39
* @param[in] touchset The touch set to destroy.
41
void geis_touchset_delete(GeisTouchSet touchset);
44
* Inserts a touch in to a touch set.
46
* @param[in] touchset A touch set.
47
* @param[in] touch A touch.
49
* The set takes ownership of the touch.
51
GeisStatus geis_touchset_insert(GeisTouchSet touchset, GeisTouch touch);
56
* @defgroup geis_touch A Gesture Touch
61
* Creates a new touch.
63
* @param[in] id Identifier for the new touch.
65
GeisTouch geis_touch_new(GeisTouchId id);
70
* @param[in] touch The touch to destroy.
72
void geis_touch_delete(GeisTouch touch);
77
* @param[in] touch The touch.
78
* @param[in] attr The attr.
80
GeisStatus geis_touch_add_attr(GeisTouch touch, GeisAttr attr);
84
#endif /* GEIS_TOUCH_H_ */