]> git.lyx.org Git - lyx.git/blob - src/main.C
1b21c24b6fa5868ebe24a6d7dedaaeb00cec5971
[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 int main(int argc, char * argv[])
21 {
22 #ifdef HAVE_IOS
23         std::ios_base::sync_with_stdio(false);
24 #endif
25
26         os::init(&argc, &argv);
27
28         // initialize for internationalized version *EK*
29         locale_init();
30
31         LyX lyx(argc, argv);
32         return 0;
33 }