]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
Remove 3rdparty/boost/Makefile.am
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index 6fb1a84b7611a68e0b91dc8613e54a06b90c579c..961eb9ae0d4546882cfd1a10b6907d8cf31419a7 100644 (file)
@@ -38,42 +38,21 @@ namespace lyx {
 
 namespace frontend {
 namespace Alert {
-       void warning(docstring const & title, docstring const & message,
-                                bool const &)
+       void warning(docstring const & title, docstring const & message, bool)
        {
                cerr << to_utf8(title) << "\n" << to_utf8(message) << endl;
        }
-}
-}
-
-
-//
-// Dummy TexRow support (needed by docstream)
-//
-
-
-void TexRow::newline()
-{}
-
-
-void TexRow::newlines(int)
-{}
+} // namespace Alert
+} // namespace frontend
 
 
 //
-// Dummy LyXRC support
+// Required global variables
 //
 
+bool verbose = false;
 LyXRC lyxrc;
 
-/** Note that some variables are not initialized correctly. Hopefully
- * they are not used in our code (currently valgrind does not complain).
- * Linking against the full LyXRC.cpp forces us to pull too much
- * stuff.
- */
-LyXRC::LyXRC()
-{}
-
 
 //
 // Dummy translation support (needed at many places)
@@ -97,7 +76,12 @@ Messages const & getGuiMessages()
 // Dummy formats support (needed by Lexer)
 //
 
-Formats formats;
+
+Formats & theFormats()
+{
+       static Formats dummy_formats;
+       return dummy_formats;
+}
 
 bool Formats::isZippedFile(support::FileName const&) const
 {
@@ -121,6 +105,7 @@ string alignmentToCSS(LyXAlignment)
        return string();
 }
 
+
 //
 // Keep the linker happy on Windows
 //
@@ -128,4 +113,10 @@ string alignmentToCSS(LyXAlignment)
 void lyx_exit(int)
 {}
 
+namespace xml {
+docstring StartTag::writeTag() const { return docstring(); }
+docstring StartTag::writeEndTag() const { return docstring(); }
+bool StartTag::operator==(FontTag const & rhs) const { return rhs == *this; }
 }
+
+} // namespace lyx