"Fossies" - the Fresh Open Source Software Archive

Member "ansifilter-2.18-x64/src/version.h" (30 Jan 2021, 1463 Bytes) of package /windows/misc/ansifilter-2.18-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "version.h": 2.17_vs_2.18.

    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