From bd95cdb734cc82ca122c80cdfa61f9219e09e66e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 20 Jan 2010 19:41:44 +0000 Subject: [PATCH] Add OutputEnums.h. This enum will shortly replace some magic booleans that have crept into my code. I'm putting it in a separate file becuase it is going to be included in Counters.h. The other obvious places to put it would lead to large includes in this file. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33109 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 1 + src/Makefile.am | 1 + src/OutputEnums.h | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 src/OutputEnums.h diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 77b7a2bbf6..82b3eed63d 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -106,6 +106,7 @@ src_header_files = Split(''' output_latex.h output_plaintext.h output_xhtml.h + OutputEnums.h OutputParams.h paper.h ParIterator.h diff --git a/src/Makefile.am b/src/Makefile.am index bc0d3682a1..989438df0d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -245,6 +245,7 @@ HEADERFILESCORE = \ Mover.h \ output_docbook.h \ output.h \ + OutputEnums.h \ output_latex.h \ output_xhtml.h \ OutputParams.h \ diff --git a/src/OutputEnums.h b/src/OutputEnums.h new file mode 100644 index 0000000000..3ab787b381 --- /dev/null +++ b/src/OutputEnums.h @@ -0,0 +1,24 @@ +// -*- C++ -*- +/** + * \file src/OutputEnums.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Richard Heck + * + * Full author contact details are available in file CREDITS. + */ + +#ifndef OUTPUTENUMS_H +#define OUTPUTENUMS_H + +namespace lyx { + +enum UpdateType { + InternalUpdate, + OutputUpdate +}; + +} + +#endif // OUTPUTENUMS_H