From 8cacb191aaf6b7c676c18d015e613880ec40127e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 18 Oct 2008 12:23:59 +0000 Subject: [PATCH] mathparser_flags.h: follow our naming convention part 1/2 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26936 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/mathparser_flags.h | 51 ----------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/mathed/mathparser_flags.h diff --git a/src/mathed/mathparser_flags.h b/src/mathed/mathparser_flags.h deleted file mode 100644 index 41d5cd7982..0000000000 --- a/src/mathed/mathparser_flags.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- C++ -*- -/** - * \file mathparser_flags.h - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. - * - * \author Enrico Forestieri - * - * Full author contact details are available in file CREDITS. - */ - -#ifndef MATHPARSER_FLAGS_H -#define MATHPARSER_FLAGS_H - -namespace lyx { - -namespace Parse { - -enum flags { - /// Parse normally. - NORMAL = 0x00, - /// Start parsing in text mode. - TEXTMODE = 0x01, - /// Parse verbatim. - VERBATIM = 0x02, - /// Quiet operation (no warnigs or errors). - QUIET = 0x04 -}; - - -inline flags operator|(flags const f, flags const g) -{ - return static_cast(int(f) | int(g)); -} - - -inline flags & operator|=(flags & f, flags g) -{ - return f = static_cast(int(f) | int(g)); -} - - -inline flags operator&(flags const f, flags const g) -{ - return static_cast(int(f) & int(g)); -} - -} // namespace Parse - -} // namespace lyx -#endif -- 2.39.2