Do not include MetricsInfo.h in MathStream.h

Fixes the FIXME in MathStream.h
This commit is contained in:
Guillaume Munch 2016-06-04 09:41:13 +01:00
parent 760bca8265
commit 348e0241af
29 changed files with 85 additions and 33 deletions

View File

@ -12,9 +12,11 @@
#include "InsetMathCancel.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"
#include <ostream>

View File

@ -12,11 +12,13 @@
#include "InsetMathCancelto.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"
#include <ostream>

View File

@ -13,9 +13,11 @@
#include "InsetMathDiagram.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include <ostream>
namespace lyx {

View File

@ -13,11 +13,13 @@
#include "InsetMathEnsureMath.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include <ostream>

View File

@ -38,6 +38,7 @@
#include "MacroTable.h"
#include "MathMacro.h"
#include "MathMacroTemplate.h"
#include "MetricsInfo.h"
#include "output_xhtml.h"
#include "Paragraph.h"
#include "ParIterator.h"

View File

@ -11,10 +11,12 @@
#include <config.h>
#include "InsetMathKern.h"
#include "MathStream.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "Dimension.h"
#include "MetricsInfo.h"
#include "support/docstring.h"

View File

@ -50,6 +50,7 @@
#include "FuncStatus.h"
#include "LyX.h"
#include "LyXRC.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
#include "Text.h"

View File

@ -15,6 +15,8 @@
#include "MathStream.h"
#include "MathSupport.h"
#include "MetricsInfo.h"
using namespace std;

View File

@ -11,11 +11,13 @@
#include <config.h>
#include "InsetMathOverset.h"
#include "MathData.h"
#include "MathStream.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
using namespace std;

View File

@ -15,6 +15,8 @@
#include "MathData.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include <ostream>
namespace lyx {

View File

@ -14,6 +14,9 @@
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"
#include <algorithm>

View File

@ -13,13 +13,16 @@
#include "InsetMathRoot.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"
using namespace std;
namespace lyx {

View File

@ -10,22 +10,24 @@
#include <config.h>
#include "InsetMathScript.h"
#include "InsetMathBrace.h"
#include "InsetMathSymbol.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "BufferView.h"
#include "Cursor.h"
#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "InsetMathBrace.h"
#include "InsetMathScript.h"
#include "InsetMathSymbol.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "MetricsInfo.h"
#include "support/debug.h"
#include "support/gettext.h"
#include "support/lassert.h"

View File

@ -11,20 +11,22 @@
#include <config.h>
#include "InsetMathSideset.h"
#include "InsetMathSymbol.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "BufferView.h"
#include "Cursor.h"
#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "InsetMathSideset.h"
#include "InsetMathSymbol.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "MetricsInfo.h"
#include "support/debug.h"
#include "support/lassert.h"

View File

@ -21,6 +21,7 @@
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "insets/InsetSpace.h"

View File

@ -12,10 +12,13 @@
#include "InsetMathSqrt.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "TextPainter.h"
#include "frontends/Painter.h"

View File

@ -12,11 +12,13 @@
#include "InsetMathStackrel.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
using namespace std;
namespace lyx {

View File

@ -18,6 +18,7 @@
#include "MathSupport.h"
#include "Encoding.h"
#include "MetricsInfo.h"
#include "support/debug.h"
#include "support/gettext.h"

View File

@ -12,14 +12,15 @@
#include "InsetMathSubstack.h"
#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "support/gettext.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "support/gettext.h"
#include "support/lstrings.h"
#include <ostream>

View File

@ -12,13 +12,15 @@
#include "InsetMathSymbol.h"
#include "Dimension.h"
#include "LaTeXFeatures.h"
#include "MathAtom.h"
#include "MathParser.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "Dimension.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include "support/debug.h"
#include "support/docstream.h"
#include "support/lyxlib.h"

View File

@ -16,6 +16,8 @@
#include "MathStream.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include "support/lstrings.h"
#include <ostream>

View File

@ -11,11 +11,14 @@
#include <config.h>
#include "InsetMathUnderset.h"
#include "MathData.h"
#include "MathStream.h"
#include "Cursor.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
using namespace std;

View File

@ -11,10 +11,12 @@
#include <config.h>
#include "InsetMathUnknown.h"
#include "MathSupport.h"
#include "MathAtom.h"
#include "MathStream.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"

View File

@ -13,12 +13,15 @@
#include "support/lassert.h"
#include "InsetMathXArrow.h"
#include "MathData.h"
#include "MathStream.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include <algorithm>

View File

@ -12,9 +12,11 @@
#include "InsetMathXYMatrix.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "LaTeXFeatures.h"
#include "MetricsInfo.h"
#include <ostream>
namespace lyx {

View File

@ -30,6 +30,7 @@
#include "LaTeXFeatures.h"
#include "LyX.h"
#include "LyXRC.h"
#include "MetricsInfo.h"
#include "frontends/Painter.h"

View File

@ -13,8 +13,6 @@
#include "MathMacroTemplate.h"
#include "DocIterator.h"
#include "LaTeXFeatures.h"
#include "InsetMathBrace.h"
#include "InsetMathChar.h"
#include "InsetMathHull.h"
@ -31,9 +29,12 @@
#include "Color.h"
#include "Cursor.h"
#include "DispatchResult.h"
#include "DocIterator.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "MetricsInfo.h"
#include "TocBackend.h"
#include "frontends/Painter.h"

View File

@ -15,8 +15,6 @@
#include "support/strfwd.h"
#include "InsetMath.h"
// FIXME: Move to individual insets
#include "MetricsInfo.h"
#include "texstream.h"

View File

@ -19,6 +19,8 @@
#include "MathParser.h"
#include "MathStream.h"
#include "MetricsInfo.h"
#include "frontends/FontLoader.h"
#include "frontends/FontMetrics.h"
#include "frontends/Painter.h"