X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ftests%2Fdummy_functions.cpp;h=5a99081b77d3366365659d933003419d38e0f309;hb=57b69a5efddf9f3c148007322f00dad6c253a2ed;hp=229198e382bc9dfb27c1825339e881a420ef2064;hpb=4729b1c35de08963cf8b40b59bcf50d427f2bb0c;p=lyx.git diff --git a/src/support/tests/dummy_functions.cpp b/src/support/tests/dummy_functions.cpp index 229198e382..5a99081b77 100644 --- a/src/support/tests/dummy_functions.cpp +++ b/src/support/tests/dummy_functions.cpp @@ -6,13 +6,16 @@ using namespace std; namespace lyx { // Dummy LyXRC support - struct LyXRC { string icon_set; } lyxrc; + class LyXRC { string icon_set; } lyxrc; + + // Dummy LyXAlignment support + enum LyXAlignment { + DUMMY + }; // Keep the linker happy on Windows void lyx_exit(int) {} - docstring const _(string const & s) { return from_ascii(s); } - // Dummy language support Messages const & getGuiMessages() { @@ -20,4 +23,16 @@ namespace lyx { return lyx_messages; } + Messages const & getMessages(string const &) + { + static Messages lyx_messages; + + return lyx_messages; + } + + string alignmentToCSS(LyXAlignment) + { + return string(); + } + }