1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2000 The LyX Team.
9 * ====================================================== */
16 #include "support/filetools.h"
17 #include "frontends/GUIRunTime.h"
20 int main(int argc, char * argv[])
22 int const val = GUIRunTime::initApplication(argc, argv);
26 // lyx_localedir is used by gettext_init() is we have
27 // i18n support built-in
28 string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");
29 if (lyx_localedir.empty())
30 lyx_localedir = LOCALEDIR;
32 // initialize for internationalized version *EK*
33 locale_init(); // macro
34 gettext_init(); // macro
37 _wildcard(&argc, &argv);