]> git.lyx.org Git - lyx.git/blob - src/support/tests/dummy_functions.cpp
Cmake build: Testing
[lyx.git] / src / support / tests / dummy_functions.cpp
1 #include <config.h>
2
3 #include "../Messages.h"
4
5 using namespace std;
6
7 namespace lyx {
8         // Dummy LyXRC support
9         class LyXRC { string icon_set; } lyxrc;
10
11         // Keep the linker happy on Windows
12         void lyx_exit(int) {}
13
14         docstring const _(string const & s) { return from_ascii(s); }
15
16         // Dummy language support
17         Messages const & getGuiMessages()
18         {
19                 static Messages lyx_messages;
20
21                 return lyx_messages;
22         }
23 }