]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
* src/insets/InsetNote.h:
[lyx.git] / src / tex2lyx / tex2lyx.h
index c3ffe97d5064940a9c3ed4af1e95be5b32fa62d6..3a45dbae49e346dbe81db8a5b9fff545fb31d174 100644 (file)
@@ -26,10 +26,17 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+typedef Layout const * LayoutPtr;
+
 class Context;
 
+/// A trivial subclass, just to give us a public default constructor
+class TeX2LyXDocClass : public DocumentClass
+{};
+
 /// in preamble.cpp
-TextClass const parse_preamble(Parser & p, std::ostream & os, std::string const & forceclass);
+void parse_preamble(Parser & p, std::ostream & os, 
+       std::string const & forceclass, TeX2LyXDocClass & tc);
 
 /// used packages with options
 extern std::map<std::string, std::vector<std::string> > used_packages;