]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
tex2lyx/text.cpp: cosmetic
[lyx.git] / src / tex2lyx / tex2lyx.h
index c3ffe97d5064940a9c3ed4af1e95be5b32fa62d6..aad7f743932de2c8defe4f1eae25d51a935e0008 100644 (file)
@@ -28,12 +28,16 @@ namespace support { class FileName; }
 
 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;
-extern LayoutPtr captionlayout;
 
 /// in text.cpp
 std::string translate_len(std::string const &);