Debian Codegraph @

clutter/mir/clutter-event-mir.h

raw
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_EVENT_MIR_H__
27 #define __CLUTTER_EVENT_MIR_H__
28
29 #include <glib-object.h>
30 #include <clutter/clutter-event.h>
31
32 #include <mir_toolkit/event.h>
33
34 GSource *
35 _clutter_event_source_mir_new (void);
36
37 void
38 _clutter_mir_handle_event (ClutterBackend *backend, MirSurface *surface, MirEvent *event);
39
40 #endif /* __CLUTTER_EVENT_MIR_H__ */