#include <config.h>
-#include "../support/Messages.h"
+#include "Format.h"
+#include "LayoutEnums.h"
+#include "LyXRC.h"
+
+#include "support/Messages.h"
+#include "xml.h"
using namespace std;
namespace lyx {
- // Dummy LyXRC support
- class LyXRC { string icon_set; } lyxrc;
- // Dummy LyXAlignment support
- enum LyXAlignment {
- DUMMY
- };
+// Dummy verbose support
+bool verbose = false;
- // Keep the linker happy on Windows
- void lyx_exit(int) {}
+// Dummy LyXRC support
+LyXRC lyxrc;
- // Dummy language support
- Messages const & getGuiMessages()
- {
- static Messages lyx_messages;
+// Keep the linker happy on Windows
+void lyx_exit(int) {}
- return lyx_messages;
- }
- Messages const & getMessages(string const &)
- {
- static Messages lyx_messages;
+// Dummy language support
+Messages const & getGuiMessages()
+{
+ static Messages lyx_messages;
- return lyx_messages;
- }
+ return lyx_messages;
+}
- string alignmentToCSS(LyXAlignment)
- {
- return string();
- }
- //
- // Dummy FontMetrics (needed by Length)
- //
+Messages const & getMessages(string const &)
+{
+ static Messages lyx_messages;
+ return lyx_messages;
+}
- namespace frontend {
- class FontMetrics {
- int em() const { return 0; };
- };
- }
- class FontInfo;
+// Dummy formats support (needed by Lexer)
+Formats & theFormats()
+{
+ static Formats dummy_formats;
+ return dummy_formats;
+}
- frontend::FontMetrics const & theFontMetrics(FontInfo const &) {
- static frontend::FontMetrics dummy;
- return dummy;
- }
- //
- // Dummy verbose support
- //
- bool verbose = false;
+string alignmentToCSS(LyXAlignment)
+{
+ return string();
+}
+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