Debian Codegraph @

clutter/mir/clutter-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 <http://www.gnu.org/licenses/>.
20 *
21 * Authors:
22 * Marco Trevisan <[email protected]>
23 */
24
25 /**
26 * SECTION:clutter-mir
27 * @short_description: Mir specific API
28 *
29 * The Mir backend for Clutter provides some specific API, allowing
30 * integration with the Mir client API for acessing the underlying data
31 * structures
32 *
33 * The Clutter Mir API is available since Clutter 1.22
34 */
35
36 #ifndef __CLUTTER_MIR_H__
37 #define __CLUTTER_MIR_H__
38
39 #include <glib.h>
40 #include <mir_toolkit/mir_client_library.h>
41 #include <clutter/clutter.h>
42 G_BEGIN_DECLS
43
44 CLUTTER_AVAILABLE_IN_1_22
45 MirSurface *clutter_mir_stage_get_mir_surface (ClutterStage *stage);
46
47 CLUTTER_AVAILABLE_IN_1_22
48 void clutter_mir_stage_set_mir_surface (ClutterStage *stage, MirSurface *surface);
49
50 CLUTTER_AVAILABLE_IN_1_22
51 void clutter_mir_set_connection (MirConnection *connection);
52
53 CLUTTER_AVAILABLE_IN_1_22
54 void clutter_mir_disable_event_retrieval (void);
55
56 G_END_DECLS
57 #endif /* __CLUTTER_MIR_H__ */