#include <config.h>
-#include "../support/Messages.h"
+#include "Format.h"
+#include "LyXRC.h"
+
+#include "support/Messages.h"
using namespace std;
namespace lyx {
+ // Dummy verbose support
+ bool verbose = false;
+
// Dummy LyXRC support
- class LyXRC { string icon_set; } lyxrc;
+ LyXRC::LyXRC() {}
+ LyXRC lyxrc;
// Dummy LyXAlignment support
enum LyXAlignment {
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; };
};
- }
+ } // namespace frontend
class FontInfo;
return dummy;
}
-}
+ struct App {
+ bool cancel_export;
+ };
+
+ App app;
+ App * theApp() { return &app; }
+
+} // namespace lyx