]> git.lyx.org Git - lyx.git/blob - src/main.C
More 'standard conformant blurb' nonsense.
[lyx.git] / src / main.C
1 /**
2  * \file main.C
3  * Copyright 2002 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Lars Gullik Bjønnes
7  * \author Jean Marc Lasgouttes
8  */
9
10 #include <config.h>
11
12 #include "lyx_main.h"
13 #include "gettext.h"
14 #include "support/os.h"
15
16 #ifdef HAVE_IOS
17 #include <ios>
18 #endif
19
20 using namespace lyx::support;
21
22 int main(int argc, char * argv[])
23 {
24 #ifdef HAVE_IOS
25         std::ios_base::sync_with_stdio(false);
26 #endif
27
28         os::init(&argc, &argv);
29
30         // initialize for internationalized version *EK*
31         locale_init();
32
33         LyX lyx(argc, argv);
34         return 0;
35 }