3
* @brief Geis gesture group 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"
25
#include "geis_frame.h"
28
* @defgroup geis_groupset A Gesture Group Container
33
* Creates a new, empty group set.
35
GeisGroupSet geis_groupset_new();
38
* Destroys a group set and all groups contained in it.
40
* @param[in] groupset The group set to destroy.
42
void geis_groupset_delete(GeisGroupSet groupset);
45
* Inserts a gesture group into a group set.
47
* @param[in] groupset A group set.
48
* @param[in] group A gesture group.
50
* The set takes ownership of the gesture group.
52
GeisStatus geis_groupset_insert(GeisGroupSet groupset, GeisGroup group);
57
* @defgroup geis_group A Gesture Group
62
* Creates a new gesture group.
64
* @param[in] id Identifier for the new group.
66
GeisGroup geis_group_new(GeisInteger id);
69
* Destroys a gesture group and all gesture frames contained in it.
71
* @param[in] group The gesture group to destroy.
73
void geis_group_delete(GeisGroup group);
76
* Adds a gesture frame to a gesture group.
78
* @param[in] group A gesture group.
79
* @param[in] frame A gesture frame.
81
* The group takes ownership of the frame object.
83
GeisStatus geis_group_insert_frame(GeisGroup group, GeisFrame frame);
87
#endif /* GEIS_GROUP_H_ */