]> git.lyx.org Git - lyx.git/blob - src/main.C
Remove the inset and view member functions from PreviewedInset.
[lyx.git] / src / main.C
1 /**
2  * \file main.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  * \author Jean Marc Lasgouttes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "lyx_main.h"
15 #include "gettext.h"
16 #include "support/os.h"
17
18 #ifdef HAVE_IOS
19 #include <ios>
20 #endif
21
22
23 namespace os = lyx::support::os;
24
25
26 int main(int argc, char * argv[])
27 {
28 #ifdef HAVE_IOS
29         std::ios_base::sync_with_stdio(false);
30 #endif
31
32         os::init(&argc, &argv);
33
34         // initialize for internationalized version *EK*
35         locale_init();
36
37         LyX lyx(argc, argv);
38         return 0;
39 }