#include <config.h>
-#include "Format.h"
#include "LaTeXFeatures.h"
#include "LyXRC.h"
+#include "output_xhtml.h"
+#include "xml.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;
}
-}
-}
+} // namespace Alert
+} // namespace frontend
//
-// Dummy TexRow support (needed by docstream)
-//
-
-
-void TexRow::newline()
-{}
-
-
-void TexRow::newlines(int)
-{}
-
-
-//
-// Dummy LyXRC support
+// Required global variables
//
+bool verbose = false;
LyXRC lyxrc;
-/** Note that some variables are not initialized correctly. Hopefully
- * they are not used in our code (currently valgrind does not complain).
- * Linking against the full LyXRC.cpp forces us to pull too much
- * stuff.
- */
-LyXRC::LyXRC()
-{}
-
//
// Dummy translation support (needed at many places)
//
-// Dummy formats support (needed by Lexer)
+// Dummy features support (needed by ModuleList)
//
-Formats formats;
-bool Formats::isZippedFile(support::FileName const&) const
+bool LaTeXFeatures::isAvailable(string const &)
{
- return false;
+ return true;
}
-//
-// Dummy features support (needed by ModuleList)
-//
-
-
-bool LaTeXFeatures::isAvailable(string const &)
+string alignmentToCSS(LyXAlignment)
{
- return true;
+ return string();
}
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; }
+bool FontTag::operator==(StartTag const & tag) const { FontTag const * const ftag = tag.asFontTag(); if (!ftag) return false; return (font_type_ == ftag->font_type_); }
}
+
+} // namespace lyx