]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/Context.h
This is the last of the commits that hopes to enforce the distinction between "layout...
[features.git] / src / tex2lyx / Context.h
index 564b3327133a3632249a0c4d75a2866b704582cd..9fb8ce103fa9a7431e7df8bab533c16e544cae5c 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef CONTEXT_H
 #define CONTEXT_H
 
-#include "TextClass.h"
+#include "tex2lyx.h"
 
 #include <iosfwd>
 
@@ -77,7 +77,7 @@ void output_font_change(std::ostream & os, TeXFont const & oldfont,
 class Context {
 public:
        Context(bool need_layout_,
-               TextClass const & textclass_,
+               TeX2LyXDocClass const & textclass_,
                LayoutPtr layout_ = LayoutPtr(),
                LayoutPtr parent_layout_= LayoutPtr(),
                TeXFont font_ = TeXFont());
@@ -140,7 +140,7 @@ public:
        static bool empty;
 
        /// The textclass of the document. Could actually be a global variable
-       TextClass const & textclass;
+       TeX2LyXDocClass const & textclass;
        /// The layout of the current paragraph
        LayoutPtr layout;
        /// The layout of the outer paragraph (for environment layouts)