Mir
mir_wait.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2012-2014 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_WAIT_H_
19 #define MIR_TOOLKIT_MIR_WAIT_H_
20 
23 
24 #ifdef __cplusplus
25 
29 extern "C" {
30 #endif
31 
32 struct MirWaitHandle;
33 
39 void mir_wait_for(MirWaitHandle *wait_handle)
40 MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes");
41 
50 void mir_wait_for_one(MirWaitHandle *wait_handle)
51 MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes");
52 
53 
54 #ifdef __cplusplus
55 }
57 #endif
58 
59 #endif /* MIR_TOOLKIT_MIR_WAIT_H_ */
mir_wait_for
void mir_wait_for(MirWaitHandle *wait_handle) MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes")
Wait on the supplied handle until all instances of the associated request have completed.
MIR_FOR_REMOVAL_IN_VERSION_1
#define MIR_FOR_REMOVAL_IN_VERSION_1(message)
Definition: deprecations.h:30
deprecations.h
client_types.h
MirWaitHandle
struct MirWaitHandle MirWaitHandle
Returned by asynchronous functions.
Definition: client_types.h:79
mir_wait_for_one
void mir_wait_for_one(MirWaitHandle *wait_handle) MIR_FOR_REMOVAL_IN_VERSION_1("No longer supported - use callbacks or wait for state changes")
Wait on the supplied handle until one instance of the associated request has completed.

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue Aug 8 19:59:54 UTC 2023
This documentation is licensed under the GPL version 2 or 3.