"Fossies" - the Fresh Open Source Software Archive

Member "ansifilter-2.18/src/enums.h" (30 Jan 2021, 1044 Bytes) of package /linux/privat/ansifilter-2.18.tar.bz2:


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. For more information about "enums.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 2.13_vs_2.14.

    1 /*
    2 This file is part of ANSIFilter.
    3 
    4 ANSIFilter is free software: you can redistribute it and/or modify
    5 it under the terms of the GNU General Public License as published by
    6 the Free Software Foundation, either version 3 of the License, or
    7 (at your option) any later version.
    8 
    9 ANSIFilter is distributed in the hope that it will be useful,
   10 but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   12 GNU General Public License for more details.
   13 
   14 You should have received a copy of the GNU General Public License
   15 along with ANSIFilter.  If not, see <http://www.gnu.org/licenses/>.
   16 */
   17 
   18 #ifndef ENUMS_H
   19 #define ENUMS_H
   20 
   21 namespace ansifilter
   22 {
   23 
   24 /** Parser return values*/
   25 enum ParseError {
   26     PARSE_OK,
   27     BAD_INPUT=1,
   28     BAD_OUTPUT=2
   29 };
   30 
   31 /** output formats */
   32 enum OutputType {
   33     TEXT,
   34     HTML,
   35     PANGO,
   36     XHTML,
   37     TEX,
   38     LATEX,
   39     RTF,
   40     BBCODE,
   41     SVG
   42 };
   43 
   44 /** line wrapping modes*/
   45 enum WrapMode {
   46     WRAP_DISABLED,
   47     WRAP_SIMPLE,
   48     WRAP_DEFAULT
   49 };
   50 
   51 }
   52 
   53 #endif