#include "Format.h"
#include "LaTeXFeatures.h"
-#include "LyXRC.h"
+#include "output_xhtml.h"
#include "support/Messages.h"
{
cerr << to_utf8(title) << "\n" << to_utf8(message) << endl;
}
-}
-}
+} // namespace Alert
+} // namespace frontend
//
-// Dummy TexRow support (needed by docstream)
+// Dummy verbose support
//
-
-void TexRow::newline()
-{}
-
-
-void TexRow::newlines(int)
-{}
+bool verbose = false;
//
// Dummy LyXRC support
//
-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()
-{}
+class LyXRC {} lyxrc;
//
// 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();
+}
+
+//
+// Dummy FontMetrics (needed by Length)
+//
+
+namespace frontend {
+class FontMetrics {
+ int em() const { return 0; };
+};
+} // namespace frontend
+
+class FontInfo;
+
+frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
+ static frontend::FontMetrics dummy;
+ return dummy;
+}
+
//
// Keep the linker happy on Windows
//
void lyx_exit(int)
{}
-}
+} // namespace lyx