#include "tex2lyx.h"
-#include "layout.h"
-#include "LyXTextClass.h"
-#include "LyXLex.h"
+#include "Layout.h"
+#include "Lexer.h"
+#include "TextClass.h"
#include "support/filetools.h"
#include "support/lstrings.h"
-void end_preamble(ostream & os, LyXTextClass const & /*textclass*/)
+void end_preamble(ostream & os, TextClass const & /*textclass*/)
{
os << "#LyX file created by tex2lyx 0.1.2\n"
<< "\\lyxformat 245\n"
} // anonymous namespace
-LyXTextClass const parse_preamble(Parser & p, ostream & os, string const & forceclass)
+TextClass const parse_preamble(Parser & p, ostream & os, string const & forceclass)
{
// initialize fixed types
special_columns['D'] = 3;
cerr << "Error: Could not find layout file for textclass \"" << h_textclass << "\"." << endl;
exit(1);
}
- LyXTextClass textclass;
+ TextClass textclass;
textclass.read(layoutfilename);
if (h_papersides.empty()) {
ostringstream ss;