]> git.lyx.org Git - lyx.git/blob - src/frontends/guiapi.C
namespace grfx -> lyx::graphics
[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 extern "C" {
18
19 void gui_show_dialog(Dialogs * d, char const * name, char const * data)
20 {
21         d->show(name, data, 0);
22 }
23                 
24 void gui_ShowDocument(Dialogs & d)
25 {
26         d.showDocument();
27 }
28
29
30 void gui_ShowForks(Dialogs & d)
31 {
32         d.showForks();
33 }
34
35
36 void gui_ShowPreamble(Dialogs & d)
37 {
38         d.showPreamble();
39 }
40
41
42 void gui_ShowPreferences(Dialogs & d)
43 {
44         d.showPreferences();
45 }
46
47
48 void gui_ShowPrint(Dialogs & d)
49 {
50         d.showPrint();
51 }
52
53
54 void gui_ShowSearch(Dialogs & d)
55 {
56         d.showSearch();
57 }
58
59
60 void gui_ShowSendto(Dialogs & d)
61 {
62         d.showSendto();
63 }
64
65
66 void gui_ShowSpellchecker(Dialogs & d)
67 {
68         d.showSpellchecker();
69 }
70
71
72 } // extern "C"