| 1 |
/* |
| 2 |
* Clutter. |
| 3 |
* |
| 4 |
* An OpenGL based 'interactive canvas' library. |
| 5 |
* |
| 6 |
* Copyright (C) 2014 Canonical Ltd. |
| 7 |
* |
| 8 |
* This library is free software; you can redistribute it and/or |
| 9 |
* modify it under the terms of the GNU Lesser General Public |
| 10 |
* License as published by the Free Software Foundation; either |
| 11 |
* version 2 of the License, or (at your option) any later version. |
| 12 |
* |
| 13 |
* This library is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
* Lesser General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Lesser General Public |
| 19 |
* License along with this library. If not, see |
| 20 |
* <http://www.gnu.org/licenses/>. |
| 21 |
|
| 22 |
* Authors: |
| 23 |
* Marco Trevisan <[email protected]> |
| 24 |
*/ |
| 25 |
|
| 26 |
#ifndef __CLUTTER_INPUT_DEVICE_MIR_H__ |
| 27 |
#define __CLUTTER_INPUT_DEVICE_MIR_H__ |
| 28 |
|
| 29 |
#include <glib-object.h> |
| 30 |
#include <clutter/clutter-event.h> |
| 31 |
|
| 32 |
#define CLUTTER_TYPE_INPUT_DEVICE_MIR (_clutter_input_device_mir_get_type ()) |
| 33 |
#define CLUTTER_INPUT_DEVICE_MIR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_INPUT_DEVICE_MIR, ClutterInputDeviceMir)) |
| 34 |
#define CLUTTER_IS_INPUT_DEVICE_MIR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_INPUT_DEVICE_MIR)) |
| 35 |
|
| 36 |
typedef struct _ClutterInputDeviceMir ClutterInputDeviceMir; |
| 37 |
|
| 38 |
struct _ClutterInputDeviceMir |
| 39 |
{ |
| 40 |
ClutterInputDevice parent_device; |
| 41 |
}; |
| 42 |
|
| 43 |
GType _clutter_input_device_mir_get_type (void) G_GNUC_CONST; |
| 44 |
|
| 45 |
#endif /* __CLUTTER_INPUT_DEVICE_MIR_H__ */ |