Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
client
mir_toolkit
client_types.h
Go to the documentation of this file.
1
/*
2
* client_types.h: Type definitions used in client apps and libmirclient.
3
*
4
* Copyright © 2013 Canonical Ltd.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License version 3,
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* Authored by: Robert Carr <robert.carr@canonical.com>
19
*/
20
21
#ifndef MIR_TOOLKIT_CLIENT_TYPES_H_
22
#define MIR_TOOLKIT_CLIENT_TYPES_H_
23
24
#include <
mir_toolkit/events/event.h
>
25
#include <
mir_toolkit/common.h
>
26
#include <
mir_toolkit/deprecations.h
>
27
28
#include <stddef.h>
29
30
#ifdef __cplusplus
31
35
extern
"C"
{
36
#endif
37
38
/* Display server connection API */
39
typedef
void
*
MirEGLNativeWindowType
;
40
typedef
void
*
MirEGLNativeDisplayType
;
41
typedef
struct
MirConnection
MirConnection
;
42
typedef
struct
MirSurface MirSurface
MIR_FOR_REMOVAL_IN_VERSION_1
("Use
MirWindow
instead");
43
typedef
struct
MirSurface
MirWindow
;
44
typedef
struct
MirSurfaceSpec MirSurfaceSpec
MIR_FOR_REMOVAL_IN_VERSION_1
("Use
MirWindowSpec
instead");
45
typedef
struct
MirSurfaceSpec
MirWindowSpec
;
46
typedef
struct
MirScreencast
MirScreencast
;
47
typedef
struct
MirScreencastSpec
MirScreencastSpec
;
48
typedef
struct
MirPromptSession
MirPromptSession
;
49
typedef
struct
MirBufferStream
MirBufferStream
;
50
typedef
struct
MirPersistentId MirPersistentId
MIR_FOR_REMOVAL_IN_VERSION_1
("Use
MirWindowId
instead");
51
typedef
struct
MirPersistentId
MirWindowId
;
52
typedef
struct