1 /*************************************************************************** 2 version.h - description 3 ------------------- 4 copyright : (C) 2007-2020 by Andre Simon 5 email : a.simon@mailbox.org 6 ***************************************************************************/ 7 8 /* 9 This file is part of ANSIFilter. 10 11 ANSIFilter is free software: you can redistribute it and/or modify 12 it under the terms of the GNU General Public License as published by 13 the Free Software Foundation, either version 3 of the License, or 14 (at your option) any later version. 15 16 ANSIFilter is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with ANSIFilter. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef VERSION_H 26 #define VERSION_H 27 28 #include <string> 29 30 #define ANSIFILTER_VERSION "2.18" 31 32 #define ANSIFILTER_URL "http://www.andre-simon.de/" 33 #define ANSIFILTER_EMAIL "a.simon@mailbox.org" 34 35 class Info 36 { 37 public: 38 39 static std::string getVersion() { 40 return ANSIFILTER_VERSION; 41 } 42 43 static std::string getWebsite() { 44 return ANSIFILTER_URL; 45 } 46 47 static std::string getEmail() { 48 return ANSIFILTER_EMAIL; 49 } 50 }; 51 52 #endif