File indexing completed on 2024-04-14 15:17:39

0001 /****************************************************************************************
0002     begin                : Wednesday Jan 25 2006
0003     copyright            : (C) 2006 by Thomas Braun (thomas.braun@virtuell-zuhause.de)
0004                                2011-2024 by Michel Ludwig (michel.ludwig@kdemail.net)
0005  ****************************************************************************************/
0006 
0007 /***************************************************************************
0008  *                                                                         *
0009  *   This program is free software; you can redistribute it and/or modify  *
0010  *   it under the terms of the GNU General Public License as published by  *
0011  *   the Free Software Foundation; either version 2 of the License, or     *
0012  *   (at your option) any later version.                                   *
0013  *                                                                         *
0014  ****************************************************************************/
0015 
0016 
0017 #ifndef KILEVERSION_H
0018 #define KILEVERSION_H
0019 
0020 #include <QString>
0021 
0022 const QString kileVersion="3.0 beta 4";
0023 const QString kileFullVersion="2.9.94"; // only use numbers and '.'
0024 #define KILE_PROJECTFILE_VERSION 3
0025 #define KILERC_VERSION 9
0026 
0027 // the last-copyright-year is used in 'main.cpp' and 'CMakeLists.txt'
0028 // KILE_LAST_COPYRIGHT_YEAR must be a string (it may appear as, e.g., 2,019 on Windows otherwise)
0029 #define KILE_LAST_COPYRIGHT_YEAR "2024"
0030 
0031 /**
0032  * Compares two strings of the form "a.b(.c)" and "d.e(.f)" lexicographically,
0033  * where a, b, c, d, e and f are natural numbers.
0034  * @return 1 if s1 is bigger than s2, 0 if s1 == s2, -1 if s1 is smaller than s2
0035  **/
0036 int compareVersionStrings(const QString& s1, const QString& s2);
0037 
0038 #endif