gfx/graphite2/include/graphite2/XmlLog.h

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 /*  GRAPHITE2 LICENSING
     3     Copyright 2010, SIL International
     4     All rights reserved.
     6     This library is free software; you can redistribute it and/or modify
     7     it under the terms of the GNU Lesser General Public License as published
     8     by the Free Software Foundation; either version 2.1 of License, or
     9     (at your option) any later version.
    11     This program is distributed in the hope that it will be useful,
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    14     Lesser General Public License for more details.
    16     You should also have received a copy of the GNU Lesser General Public
    17     License along with this library in the file named "LICENSE".
    18     If not, write to the Free Software Foundation, 51 Franklin Street,
    19     Suite 500, Boston, MA 02110-1335, USA or visit their web page on the
    20     internet at http://www.fsf.org/licenses/lgpl.html.
    22     Alternatively, the contents of this file may be used under the terms
    23     of the Mozilla Public License (http://mozilla.org/MPL) or the GNU
    24     General Public License, as published by the Free Software Foundation,
    25     either version 2 of the License or (at your option) any later version.
    26 */
    27 #pragma once
    29 #include <graphite2/Types.h>
    30 #include <stdio.h>
    32 typedef enum {
    33     GRLOG_NONE = 0x0,
    34     GRLOG_FACE = 0x01,
    35     GRLOG_SEGMENT = 0x02,
    36     GRLOG_PASS = 0x04,
    37     GRLOG_CACHE = 0x08,
    39     GRLOG_OPCODE = 0x80,
    40     GRLOG_ALL = 0xFF
    41 } GrLogMask;
    43 // If startGraphiteLogging returns true, logging is enabled and the FILE handle
    44 // will be closed by graphite when stopGraphiteLogging is called.
    45 #ifdef __cplusplus
    46 extern "C"
    47 {
    48 #endif
    50 GR2_API bool graphite_start_logging(FILE * logFile, GrLogMask mask);		//may not do anthing if disabled in the implementation of the engine.
    51 GR2_API void graphite_stop_logging();
    53 #ifdef __cplusplus
    54 }
    55 #endif

mercurial