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 * ====================================================== */
17 #include "support/filetools.h"
18 #include "frontends/GUIRunTime.h"
23 GUIRunTime guiruntime;
25 int main(int argc, char * argv[])
27 int val = guiruntime.initApplication(argc, argv);
31 // lyx_localedir is used by gettext_init() is we have
32 // i18n support built-in
33 string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");
34 if (lyx_localedir.empty())
35 lyx_localedir = LOCALEDIR;
37 // initialize for internationalized version *EK*
42 _wildcard(&argc, &argv);