Perceptual Color

version.cpp
1// SPDX-FileCopyrightText: Lukas Sommer <sommerluk@gmail.com>
2// SPDX-License-Identifier: BSD-2-Clause OR MIT
3
4// Own header
5#include "version.h"
6
7#include <limits>
8
9static_assert(std::numeric_limits<decltype(PERCEPTUALCOLOR_COMPILE_TIME_VERSION_MAJOR)>::is_integer);
11
12static_assert(std::numeric_limits<decltype(PERCEPTUALCOLOR_COMPILE_TIME_VERSION_MINOR)>::is_integer);
14
15static_assert(std::numeric_limits<decltype(PERCEPTUALCOLOR_COMPILE_TIME_VERSION_PATCH)>::is_integer);
17
18static_assert(std::numeric_limits<decltype(PERCEPTUALCOLOR_COMPILE_TIME_VERSION)>::is_integer);
19static_assert(PERCEPTUALCOLOR_COMPILE_TIME_VERSION >= 1);
20
21namespace PerceptualColor
22{
23/** @brief Against which version of this library you are <em>running</em>.
24 *
25 * @returns The library version with major, minor and patch version.
26 * Note that there is no pre-release identifier included. For example, if
27 * your application is running against version 1.2.3-alpha of this library,
28 * this function will return <tt>QVersionNumber(1, 2, 3)</tt>.
29 *
30 * To use this function, include <tt>version.h</tt>
31 *
32 * @sa @ref versioninfo */
37
38} // namespace PerceptualColor
The namespace of this library.
QVersionNumber perceptualColorRunTimeVersion()
Against which version of this library you are running.
Definition version.cpp:33
#define PERCEPTUALCOLOR_COMPILE_TIME_VERSION_MINOR
#define PERCEPTUALCOLOR_COMPILE_TIME_VERSION
Against which version of this library you are compiling.
#define PERCEPTUALCOLOR_COMPILE_TIME_VERSION_MAJOR
#define PERCEPTUALCOLOR_COMPILE_TIME_VERSION_PATCH
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:48:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.