Mir
client_types_nbs.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2016 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  */
17 
18 #ifndef MIR_TOOLKIT_CLIENT_TYPES_NBS_H_
19 #define MIR_TOOLKIT_CLIENT_TYPES_NBS_H_
20 
22 
23 #ifdef __cplusplus
24 
28 extern "C" {
29 #endif
30 
31 /* NOTE: this file will be rolled into mir_toolkit/client_types.h when made public. */
33 typedef struct MirBuffer MirBuffer;
34 typedef void* MirNativeFence;
35 
36 typedef void (*mir_buffer_callback)(MirBuffer*, void* context);
37 typedef void (*mir_presentation_chain_callback)(MirPresentationChain*, void* context);
38 typedef enum MirBufferAccess
39 {
44 
45 #ifdef __cplusplus
46 }
48 #endif
49 
50 #endif /* MIR_TOOLKIT_CLIENT_TYPES_NBS_H_ */
struct MirBuffer MirBuffer
Definition: client_types_nbs.h:33
void * MirNativeFence
Definition: client_types_nbs.h:34
Definition: client_types_nbs.h:41
MirBufferAccess
Definition: client_types_nbs.h:38
Definition: mir_presentation_chain.h:26
Definition: client_types_nbs.h:40
void(* mir_buffer_callback)(MirBuffer *, void *context)
Definition: client_types_nbs.h:36
Definition: client_types_nbs.h:42
void(* mir_presentation_chain_callback)(MirPresentationChain *, void *context)
Definition: client_types_nbs.h:37

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016