X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftex2lyx.h;h=4850eeea8826ccc09402eba68efdcc9b9a3e6fba;hb=28f43b18963a5088529d4ac7c165fa95e62fd02b;hp=913060977c578e73d0f05112538921b889352fbe;hpb=39c7e2faf09a85af8e641549be2694675d133ed6;p=lyx.git diff --git a/src/tex2lyx/tex2lyx.h b/src/tex2lyx/tex2lyx.h index 913060977c..4850eeea88 100644 --- a/src/tex2lyx/tex2lyx.h +++ b/src/tex2lyx/tex2lyx.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * \author Jean-Marc Lasgouttes * * Full author contact details are available in file CREDITS. @@ -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 > used_packages; -extern LayoutPtr captionlayout; /// in text.cpp std::string translate_len(std::string const &);