2
* @file geis_dbus_gesture_event.h
3
* @brief Interface for the GEIS DBus gesture event 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_EVENT_H_
23
#define GEIS_DBUS_GESTURE_EVENT_H_
25
#include <dbus/dbus.h>
26
#include "geis/geis.h"
30
* Creates a Dbus "gesture event" message from a GEIS gesture event.
32
* @param[in] event A GEIS event.
35
geis_dbus_gesture_event_message_from_geis_event(GeisEvent event);
38
* Indicates if a DBus message is a "gesture event" message.
40
* @param[in] message A DBus message.
43
geis_dbus_message_is_gesture_event(DBusMessage *message);
46
* Creates GEIS event from a DBus "gesture_event" message.
48
* @param[in] message A DBus message.
51
geis_dbus_gesture_event_from_message(Geis geis, DBusMessage *message);
54
#endif /* GEIS_DBUS_GESTURE_EVENT_H_ */