Mir
include
client
mir_toolkit
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
21
#include <
mir_toolkit/client_types.h
>
22
23
#include <stdbool.h>
24
25
#ifdef __cplusplus
26
30
extern
"C"
{
31
#endif
32
39
bool
mir_window_id_is_valid
(
MirWindowId
*
id
);
40
47
void
mir_window_id_release
(
MirWindowId
*
id
);
48
57
char
const
*
mir_window_id_as_string
(
MirWindowId
*
id
);
58
64
MirWindowId
*
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_ */
mir_window_id_is_valid
bool mir_window_id_is_valid(MirWindowId *id)
Check the validity of a MirWindowId.
MirWindowId
struct MirPersistentId MirWindowId
Definition:
client_types.h:51
client_types.h
mir_window_id_from_string
MirWindowId * mir_window_id_from_string(char const *string_representation)
Deserialise a string representation of a MirSurfaceId.
mir_window_id_release
void mir_window_id_release(MirWindowId *id)
Free a MirWindowId.
mir_window_id_as_string
char const * mir_window_id_as_string(MirWindowId *id)
Get a string representation of a MirSurfaceId.
Copyright © 2012-2017 Canonical Ltd.
Generated on Mon Oct 30 19:44:55 UTC 2017