2
* Copyright © 2016 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3,
6
* as published by the Free Software Foundation.
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 General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
#ifndef MIRAL_VERSION_H_
19
#define MIRAL_VERSION_H_
21
#include "mir_toolkit/mir_version_number.h"
23
// =========================================================================================
24
// ==> miral/version.h is generated by cmake. DO NOT EDIT! (edit version.h.in instead) <==
25
// =========================================================================================
30
* The major MirAL API version. This will increase once per API incompatible release.
32
* See also: http://semver.org/
34
#define MIRAL_MAJOR_VERSION (@MIRAL_VERSION_MAJOR@)
39
* The minor MirAL API version. This will increase each time new backwards-compatible API
40
* is added, and will reset to 0 each time MIRAL_MAJOR_VERSION is incremented.
42
* See also: http://semver.org/
44
#define MIRAL_MINOR_VERSION (@MIRAL_VERSION_MINOR@)
49
* The micro miral API version. This will increment each release.
50
* This is usually uninteresting for server code, but may be of use in selecting
51
* whether to use a feature that has previously been buggy.
53
* This corresponds to the PATCH field of http://semver.org/
55
#define MIRAL_MICRO_VERSION (@MIRAL_VERSION_PATCH@)
60
* The current version of the MirAL headers in use.
62
#define MIRAL_VERSION \
63
MIR_VERSION_NUMBER(MIRAL_MAJOR_VERSION, \
64
MIRAL_MINOR_VERSION, \
67
#endif /* MIRAL_VERSION_H_ */