Mir
mir_window_id.h
Go to the documentation of this file.
1/*
2 * Copyright © 2017 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_WINDOW_ID_H_
19#define MIR_TOOLKIT_MIR_WINDOW_ID_H_
20
22
23#include <stdbool.h>
24
25#ifdef __cplusplus
30extern "C" {
31#endif
40
48
58
64MirWindowId* mir_window_id_from_string(char const* string_representation);
65
66
67#ifdef __cplusplus
68}
70#endif
71
72#endif /* MIR_TOOLKIT_MIR_WINDOW_ID_H_ */
bool mir_window_id_is_valid(MirWindowId *id)
Check the validity of a MirWindowId.
struct MirPersistentId MirWindowId
Definition: client_types.h:51
char const * mir_window_id_as_string(MirWindowId *id)
Get a string representation of a MirSurfaceId.
MirWindowId * mir_window_id_from_string(char const *string_representation)
Deserialise a string representation of a MirSurfaceId.
void mir_window_id_release(MirWindowId *id)
Free a MirWindowId.

Copyright © 2012-2022 Canonical Ltd.
Generated on Wed Dec 28 21:01:08 UTC 2022
This documentation is licensed under the GPL version 2 or 3.