#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 verbose support
+// Required global variables
//
bool verbose = false;
-
-
-//
-// Dummy LyXRC support
-//
-
-
-class LyXRC {} lyxrc;
+LyXRC lyxrc;
//
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 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