]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/dummy_impl.cpp
Format and reversion code for new counter inset.
[lyx.git] / src / tex2lyx / dummy_impl.cpp
index cb650321ebe41bbad6771cabc6001f0be9e1d355..c850cd97c113cfcf0b25b8f434378c4da82631bf 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "Format.h"
 #include "LaTeXFeatures.h"
+#include "LyXRC.h"
 #include "output_xhtml.h"
 
 #include "support/Messages.h"
@@ -47,18 +48,11 @@ namespace Alert {
 
 
 //
-// Dummy verbose support
+// Required global variables
 //
 
 bool verbose = false;
-
-
-//
-// Dummy LyXRC support
-//
-
-
-class LyXRC {} lyxrc;
+LyXRC lyxrc;
 
 
 //
@@ -112,32 +106,6 @@ 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;
-}
-
-//
-// Dummy theApp() support (needed by support/Systemcall.cpp)
-//
-struct App {
-       bool cancel_export;
-};
-
-App app;
-App * theApp() { return &app; }
 
 //
 // Keep the linker happy on Windows