2
* @file geis_dbus_class.h
3
* @brief Interface for the GEIS DBus gesture class transport.
7
* Copyright 2011 Canonical Ltd.
9
* This library is free software; you can redistribute it and/or modify it under
10
* the terms of the GNU Lesser General Public License as published by the Free
11
* Software Foundation; either version 3 of the License, or (at your option) any
14
* This library is distributed in the hope that it will be useful, but WITHOUT
15
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef GEIS_DBUS_GESTURE_CLASS_H_
23
#define GEIS_DBUS_GESTURE_CLASS_H_
25
#include <dbus/dbus.h>
26
#include "geis/geis.h"
30
* Creates a Dbus "class available" message from a GEIS class.
32
* @param[in] class A GEIS gesture class.
35
geis_dbus_class_available_message_from_class(GeisGestureClass gesture_class);
38
* Creates GEIS class from a DBus "class available" message.
40
* @param[in] message A DBus message.
43
geis_dbus_class_class_from_available_message(DBusMessage *message);
45
#endif /* GEIS_DBUS_GESTURE_CLASS_H_ */