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