mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Do not redefine LyXAlignment; reformat a bit
This commit is contained in:
parent
26817e9347
commit
ddb51c721c
@ -1,6 +1,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "Format.h"
|
||||
#include "LayoutEnums.h"
|
||||
#include "LyXRC.h"
|
||||
|
||||
#include "support/Messages.h"
|
||||
@ -8,44 +9,44 @@
|
||||
using namespace std;
|
||||
|
||||
namespace lyx {
|
||||
// Dummy verbose support
|
||||
bool verbose = false;
|
||||
|
||||
// Dummy LyXRC support
|
||||
LyXRC lyxrc;
|
||||
// Dummy verbose support
|
||||
bool verbose = false;
|
||||
|
||||
// Dummy LyXAlignment support
|
||||
enum LyXAlignment {
|
||||
DUMMY
|
||||
};
|
||||
// Dummy LyXRC support
|
||||
LyXRC lyxrc;
|
||||
|
||||
// Keep the linker happy on Windows
|
||||
void lyx_exit(int) {}
|
||||
// Keep the linker happy on Windows
|
||||
void lyx_exit(int) {}
|
||||
|
||||
// Dummy language support
|
||||
Messages const & getGuiMessages()
|
||||
{
|
||||
static Messages lyx_messages;
|
||||
// Dummy language support
|
||||
Messages const & getGuiMessages()
|
||||
{
|
||||
static Messages lyx_messages;
|
||||
|
||||
return lyx_messages;
|
||||
}
|
||||
Messages const & getMessages(string const &)
|
||||
{
|
||||
static Messages lyx_messages;
|
||||
return lyx_messages;
|
||||
}
|
||||
|
||||
return lyx_messages;
|
||||
}
|
||||
|
||||
// Dummy formats support (needed by Lexer)
|
||||
Formats & theFormats()
|
||||
{
|
||||
static Formats dummy_formats;
|
||||
return dummy_formats;
|
||||
}
|
||||
Messages const & getMessages(string const &)
|
||||
{
|
||||
static Messages lyx_messages;
|
||||
|
||||
string alignmentToCSS(LyXAlignment)
|
||||
{
|
||||
return string();
|
||||
}
|
||||
return lyx_messages;
|
||||
}
|
||||
|
||||
|
||||
// Dummy formats support (needed by Lexer)
|
||||
Formats & theFormats()
|
||||
{
|
||||
static Formats dummy_formats;
|
||||
return dummy_formats;
|
||||
}
|
||||
|
||||
|
||||
string alignmentToCSS(LyXAlignment)
|
||||
{
|
||||
return string();
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
Loading…
Reference in New Issue
Block a user