]> git.lyx.org Git - lyx.git/blob - src/frontends/guiapi.C
5 new lfuns, move all apply code out of ControlDocument and into the core.
[lyx.git] / src / frontends / guiapi.C
1 /**
2  * \file guiapi.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 Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "guiapi.h"
15 #include "Dialogs.h"
16
17
18 extern "C" {
19
20 void gui_show_dialog(Dialogs * d, char const * name, char const * data)
21 {
22         d->show(name, data, 0);
23 }
24
25 void gui_ShowDocument(Dialogs & d)
26 {
27         d.showDocument();
28 }
29
30
31 void gui_ShowPreamble(Dialogs & d)
32 {
33         d.showPreamble();
34 }
35
36
37 void gui_ShowPreferences(Dialogs & d)
38 {
39         d.showPreferences();
40 }
41
42
43 void gui_ShowSpellchecker(Dialogs & d)
44 {
45         d.showSpellchecker();
46 }
47
48
49 } // extern "C"