X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftex2lyx.h;h=8220877339bd856429c0e0d7f9ab72914df43490;hb=3628ceec480c3d8fa9673f80f781eb1153fb9e1f;hp=1e23b7add574ced8318c52fdb9398cf495a81a69;hpb=4061e5bbdb476da7f646ab44a123cf6be15eaa74;p=lyx.git diff --git a/src/tex2lyx/tex2lyx.h b/src/tex2lyx/tex2lyx.h index 1e23b7add5..8220877339 100644 --- a/src/tex2lyx/tex2lyx.h +++ b/src/tex2lyx/tex2lyx.h @@ -26,14 +26,6 @@ namespace lyx { namespace support { class FileName; } -/// Simple support for frontend::Alert::warning(). -namespace frontend { -namespace Alert { - void warning(docstring const & title, docstring const & message, - bool const &); -} -} - class Context; /// A trivial subclass, just to give us a public default constructor @@ -193,6 +185,8 @@ extern bool overwriteFiles(); extern bool copyFiles(); /// Shall we skip child documents and keep them as TeX? extern bool skipChildren(); +/// Does tex2lyx run in roundtrip mode? +extern bool roundtripMode(); /*! @@ -204,8 +198,8 @@ extern bool skipChildren(); * contains a preamble. * \return true if the conversion was successful, else false. */ -bool tex2lyx(std::string const & infilename, - support::FileName const & outfilename, +bool tex2lyx(std::string const & infilename, + support::FileName const & outfilename, std::string const & encoding);