#include "Format.h"
#include "LaTeXFeatures.h"
#include "LyXRC.h"
+#include "output_xhtml.h"
#include "support/Messages.h"
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)
// Dummy formats support (needed by Lexer)
//
-Formats formats;
+
+Formats & theFormats()
+{
+ static Formats dummy_formats;
+ return dummy_formats;
+}
bool Formats::isZippedFile(support::FileName const&) const
{
}
+string alignmentToCSS(LyXAlignment)
+{
+ return string();
+}
+
+
//
// Keep the linker happy on Windows
//
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