]> git.lyx.org Git - lyx.git/blob - src/frontends/guiapi.C
Port wrap dialog to the new scheme.
[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_ShowAboutlyx(Dialogs & d)
25 {
26         d.showAboutlyx();
27 }
28
29
30 void gui_ShowCharacter(Dialogs & d)
31 {
32         d.showCharacter();
33 }
34
35
36 void gui_SetUserFreeFont(Dialogs & d)
37 {
38         d.setUserFreeFont();
39 }
40
41
42 void gui_ShowDocument(Dialogs & d)
43 {
44         d.showDocument();
45 }
46
47
48 void gui_ShowFile(string const & f, Dialogs & d)
49 {
50         d.showFile(f);
51 }
52
53
54 void gui_ShowForks(Dialogs & d)
55 {
56         d.showForks();
57 }
58
59
60 void gui_ShowGraphics(InsetGraphics * ig, Dialogs & d)
61 {
62         d.showGraphics(ig);
63 }
64
65
66 void gui_ShowLogFile(Dialogs & d)
67 {
68         d.showLogFile();
69 }
70
71
72 void gui_ShowMathPanel(Dialogs & d)
73 {
74         d.showMathPanel();
75 }
76
77
78 void gui_ShowMinipage(InsetMinipage * im, Dialogs & d)
79 {
80         d.showMinipage(im);
81 }
82
83
84 void gui_UpdateMinipage(InsetMinipage * im, Dialogs & d)
85 {
86         d.updateMinipage(im);
87 }
88
89
90 void gui_ShowParagraph(Dialogs & d)
91 {
92         d.showParagraph();
93 }
94
95
96 void gui_UpdateParagraph(Dialogs & d)
97 {
98         d.updateParagraph();
99 }
100
101
102 void gui_ShowPreamble(Dialogs & d)
103 {
104         d.showPreamble();
105 }
106
107
108 void gui_ShowPreferences(Dialogs & d)
109 {
110         d.showPreferences();
111 }
112
113
114 void gui_ShowPrint(Dialogs & d)
115 {
116         d.showPrint();
117 }
118
119
120 void gui_ShowSearch(Dialogs & d)
121 {
122         d.showSearch();
123 }
124
125
126 void gui_ShowSendto(Dialogs & d)
127 {
128         d.showSendto();
129 }
130
131
132 void gui_ShowSpellchecker(Dialogs & d)
133 {
134         d.showSpellchecker();
135 }
136
137
138 void gui_ShowTabular(InsetTabular * it, Dialogs & d)
139 {
140         d.showTabular(it);
141 }
142
143
144 void gui_UpdateTabular(InsetTabular * it, Dialogs & d)
145 {
146         d.updateTabular(it);
147 }
148
149
150 void gui_ShowTabularCreate(Dialogs & d)
151 {
152         d.showTabularCreate();
153 }
154
155
156 void gui_ShowTexinfo(Dialogs & d)
157 {
158         d.showTexinfo();
159 }
160
161
162 void gui_ShowThesaurus(string const & s, Dialogs & d)
163 {
164         d.showThesaurus(s);
165 }
166
167
168 void gui_ShowVCLogFile(Dialogs & d)
169 {
170         d.showVCLogFile();
171 }
172
173 } // extern "C"