~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to libs/geis-dbus/geis_dbus_class.h

  • Committer: Package Import Robot
  • Author(s): Chase Douglas
  • Date: 2012-07-30 08:51:42 UTC
  • Revision ID: package-import@ubuntu.com-20120730085142-jrc33ygjvt0ob1wl
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * @file geis_dbus_class.h
 
3
 * @brief Interface for the GEIS DBus gesture class transport.
 
4
 */
 
5
 
 
6
/*
 
7
 * Copyright 2011 Canonical Ltd.
 
8
 *
 
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
 
12
 * later version.
 
13
 *
 
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
 
17
 * details.
 
18
 *
 
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/>.
 
21
 */
 
22
#ifndef GEIS_DBUS_GESTURE_CLASS_H_
 
23
#define GEIS_DBUS_GESTURE_CLASS_H_
 
24
 
 
25
#include <dbus/dbus.h>
 
26
#include "geis/geis.h"
 
27
 
 
28
 
 
29
/**
 
30
 * Creates a Dbus "class available" message from a GEIS class.
 
31
 *
 
32
 * @param[in] class  A GEIS gesture class.
 
33
 */
 
34
DBusMessage *
 
35
geis_dbus_class_available_message_from_class(GeisGestureClass gesture_class);
 
36
 
 
37
/**
 
38
 * Creates GEIS class from a DBus "class available" message.
 
39
 *
 
40
 * @param[in] message  A DBus message.
 
41
 */
 
42
GeisGestureClass
 
43
geis_dbus_class_class_from_available_message(DBusMessage *message);
 
44
 
 
45
#endif /* GEIS_DBUS_GESTURE_CLASS_H_ */