Warning, /graphics/digikam/core/app/utils/digikam_version.h.cmake.in is written in an unsupported language. File is not indexed.
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2004-09-09 0007 * Description : digiKam release ID header. 0008 * 0009 * SPDX-FileCopyrightText: 2004-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_VERSION_H 0016 #define DIGIKAM_VERSION_H 0017 0018 // Qt includes 0019 0020 #include <QString> 0021 #include <QDateTime> 0022 0023 // Local includes 0024 0025 #include "digikam_export.h" 0026 0027 namespace Digikam 0028 { 0029 0030 static const char digikam_version_short[] = "@DIGIKAM_VERSION_SHORT@"; 0031 static const char digikam_version[] = "@DIGIKAM_VERSION_STRING@"; 0032 static const char digikam_version_suffix[] = "@DIGIKAM_SUFFIX_VERSION@"; 0033 static const char digikam_build_type[] = "@CMAKE_BUILD_TYPE@"; 0034 0035 /** 0036 * Return the current digiKam version as string. 0037 */ 0038 DIGIKAM_EXPORT const QString digiKamVersion(); 0039 0040 /** 0041 * Return al list of additional information about the current application build. 0042 */ 0043 DIGIKAM_EXPORT const QString additionalInformation(); 0044 0045 /** 0046 * Return the UTC time-stamp of the current build. 0047 */ 0048 DIGIKAM_EXPORT const QDateTime digiKamBuildDate(); 0049 0050 /** 0051 * Make an integer version number for comparison from a major, minor and 0052 * a patch version number. 0053 */ 0054 DIGIKAM_EXPORT int digiKamMakeIntegerVersion(int major, int minor, int patch); 0055 0056 } // namespace Digikam 0057 0058 #endif // DIGIKAM_VERSION_H