Mir
include
client
mir_toolkit
mir_presentation_chain.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 2 or 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_MIR_PRESENTATION_CHAIN_H_
19
#define MIR_TOOLKIT_MIR_PRESENTATION_CHAIN_H_
20
21
#include <
mir_toolkit/client_types.h
>
22
23
#ifdef __cplusplus
24
28
extern
"C"
{
29
#endif
30
38
bool
mir_presentation_chain_is_valid
(
MirPresentationChain
* presentation_chain);
39
49
char
const
*
mir_presentation_chain_get_error_message
(
50
MirPresentationChain
* presentation_chain);
51
67
void
mir_presentation_chain_submit_buffer
(
68
MirPresentationChain
* presentation_chain,
MirBuffer
* buffer,
69
MirBufferCallback
available_callback,
void
* available_context);
70
71
#ifdef __cplusplus
72
}
74
#endif
75
76
#endif // MIR_TOOLKIT_MIR_PRESENTATION_CHAIN_H_
mir_presentation_chain_is_valid
bool mir_presentation_chain_is_valid(MirPresentationChain *presentation_chain)
Test for a valid presentation chain.
MirBuffer
struct MirBuffer MirBuffer
Definition:
client_types.h:56
mir_presentation_chain_get_error_message
char const * mir_presentation_chain_get_error_message(MirPresentationChain *presentation_chain)
Retrieve a text description of the error.
MirBufferCallback
void(* MirBufferCallback)(MirBuffer *, void *context)
Definition:
client_types.h:497
MirPresentationChain
struct MirPresentationChain MirPresentationChain
Definition:
client_types.h:55
client_types.h
mir_presentation_chain_submit_buffer
void mir_presentation_chain_submit_buffer(MirPresentationChain *presentation_chain, MirBuffer *buffer, MirBufferCallback available_callback, void *available_context)
Submit a buffer to the server so the server can display it.
Copyright © 2012-2018 Canonical Ltd.
Generated on Thu Apr 5 15:26:05 UTC 2018