]> git.lyx.org Git - features.git/blob - src/frontends/xforms/Dialogs_impl.h
The big change tracking patch. Changes from posted version :
[features.git] / src / frontends / xforms / Dialogs_impl.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/Dialogs_impl.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  * \author Angus Leeming
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef DIALOGS_IMPL_H
12 #define DIALOGS_IMP_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "Dialogs.h"
19 #include "controllers/GUI.h"
20
21 #include "Tooltips.h"
22 #include "xformsBC.h"
23 #include "combox.h"
24
25 #include "ControlAboutlyx.h"
26 #include "FormAboutlyx.h"
27 #include "forms/form_aboutlyx.h"
28
29 #include "ControlBibitem.h"
30 #include "FormBibitem.h"
31 #include "forms/form_bibitem.h"
32
33 #include "ControlBibtex.h"
34 #include "FormBibtex.h"
35 #include "forms/form_bibtex.h"
36
37 #include "FormBrowser.h"
38 #include "forms/form_browser.h"
39
40 #include "ControlChanges.h"
41 #include "FormChanges.h"
42 #include "forms/form_changes.h"
43  
44 #include "ControlCharacter.h"
45 #include "FormCharacter.h"
46 #include "forms/form_character.h"
47
48 #include "ControlCitation.h"
49 #include "FormCitation.h"
50 #include "forms/form_citation.h"
51
52 #include "ControlDocument.h"
53 #include "FormDocument.h"
54 #include "forms/form_document.h"
55
56 #include "ControlError.h"
57 #include "FormError.h"
58 #include "forms/form_error.h"
59
60 #include "ControlERT.h"
61 #include "FormERT.h"
62 #include "forms/form_ert.h"
63
64 #include "ControlExternal.h"
65 #include "FormExternal.h"
66 #include "forms/form_external.h"
67
68 #include "ControlFloat.h"
69 #include "FormFloat.h"
70 #include "forms/form_float.h"
71
72 #include "ControlForks.h"
73 #include "FormForks.h"
74 #include "forms/form_forks.h"
75
76 #include "ControlGraphics.h"
77 #include "FormGraphics.h"
78 #include "forms/form_graphics.h"
79
80 #include "ControlInclude.h"
81 #include "FormInclude.h"
82 #include "forms/form_include.h"
83
84 #include "ControlIndex.h"
85 #include "FormIndex.h"
86 #include "forms/form_index.h"
87
88 #include "ControlLog.h"
89 #include "FormLog.h"
90
91 #include "ControlShowFile.h"
92 #include "FormShowFile.h"
93
94 #include "ControlMath.h"
95 #include "FormMathsPanel.h"
96 #include "forms/form_maths_panel.h"
97
98 #include "ControlMinipage.h"
99 #include "FormMinipage.h"
100 #include "forms/form_minipage.h"
101
102 #include "ControlParagraph.h"
103 #include "FormParagraph.h"
104 #include "forms/form_paragraph.h"
105
106 #include "ControlPreamble.h"
107 #include "FormPreamble.h"
108 #include "forms/form_preamble.h"
109
110 #include "ControlPrefs.h"
111 #include "FormPreferences.h"
112 #include "forms/form_preferences.h"
113
114 #include "ControlPrint.h"
115 #include "FormPrint.h"
116 #include "forms/form_print.h"
117
118 #include "ControlRef.h"
119 #include "FormRef.h"
120 #include "forms/form_ref.h"
121
122 #include "ControlSearch.h"
123 #include "FormSearch.h"
124 #include "forms/form_search.h"
125
126 #include "ControlSendto.h"
127 #include "FormSendto.h"
128 #include "forms/form_sendto.h"
129
130 #include "ControlSpellchecker.h"
131 #include "FormSpellchecker.h"
132 #include "forms/form_spellchecker.h"
133
134 #include "ControlTabular.h"
135 #include "FormTabular.h"
136 #include "forms/form_tabular.h"
137
138 #include "ControlTabularCreate.h"
139 #include "FormTabularCreate.h"
140 #include "forms/form_tabular_create.h"
141
142 #include "ControlTexinfo.h"
143 #include "FormTexinfo.h"
144 #include "forms/form_texinfo.h"
145
146 #ifdef HAVE_LIBAIKSAURUS
147 #include "ControlThesaurus.h"
148 #include "FormThesaurus.h"
149 #include "forms/form_thesaurus.h"
150 #endif
151
152 #include "ControlToc.h"
153 #include "FormToc.h"
154 #include "forms/form_toc.h"
155
156 #include "ControlUrl.h"
157 #include "FormUrl.h"
158 #include "forms/form_url.h"
159
160 #include "ControlVCLog.h"
161 #include "FormVCLog.h"
162
163 #include "ControlWrap.h"
164 #include "FormWrap.h"
165 #include "forms/form_wrap.h"
166
167
168 typedef GUI<ControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC>
169 AboutlyxDialog;
170
171 typedef GUI<ControlBibitem, FormBibitem, OkCancelReadOnlyPolicy, xformsBC>
172 BibitemDialog;
173
174 typedef GUI<ControlBibtex, FormBibtex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
175 BibtexDialog;
176
177 typedef GUI<ControlChanges, FormChanges, NoRepeatedApplyReadOnlyPolicy, xformsBC>
178 ChangesDialog;
179  
180 typedef GUI<ControlCharacter, FormCharacter, OkApplyCancelReadOnlyPolicy, xformsBC>
181 CharacterDialog;
182
183 typedef GUI<ControlCitation, FormCitation, NoRepeatedApplyReadOnlyPolicy, xformsBC>
184 CitationDialog;
185
186 typedef GUI<ControlDocument, FormDocument, NoRepeatedApplyReadOnlyPolicy, xformsBC>
187 DocumentDialog;
188
189 typedef GUI<ControlError, FormError, OkCancelPolicy, xformsBC>
190 ErrorDialog;
191
192 typedef GUI<ControlERT, FormERT, NoRepeatedApplyReadOnlyPolicy, xformsBC>
193 ERTDialog;
194
195 typedef GUI<ControlExternal, FormExternal, OkApplyCancelReadOnlyPolicy, xformsBC>
196 ExternalDialog;
197
198 typedef GUI<ControlShowFile, FormShowFile, OkCancelPolicy, xformsBC>
199 FileDialog;
200
201 typedef GUI<ControlFloat, FormFloat, NoRepeatedApplyReadOnlyPolicy, xformsBC>
202 FloatDialog;
203
204 typedef GUI<ControlForks, FormForks, OkApplyCancelPolicy, xformsBC>
205 ForksDialog;
206
207 typedef GUI<ControlGraphics, FormGraphics, NoRepeatedApplyReadOnlyPolicy, xformsBC>
208 GraphicsDialog;
209
210 typedef GUI<ControlInclude, FormInclude, OkCancelReadOnlyPolicy, xformsBC>
211 IncludeDialog;
212
213 typedef GUI<ControlIndex, FormIndex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
214 IndexDialog;
215
216 typedef GUI<ControlLog, FormLog, OkCancelPolicy, xformsBC>
217 LogFileDialog;
218
219 typedef GUI<ControlMath, FormMathsPanel, OkCancelReadOnlyPolicy, xformsBC>
220 MathPanelDialog;
221
222 typedef GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>
223 MinipageDialog;
224
225 typedef GUI<ControlParagraph, FormParagraph, OkApplyCancelReadOnlyPolicy, xformsBC>
226 ParagraphDialog;
227
228 typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC>
229 PreambleDialog;
230
231 typedef GUI<ControlPrefs, FormPreferences, OkApplyCancelPolicy, xformsBC>
232 PreferencesDialog;
233
234 typedef GUI<ControlPrint, FormPrint, OkApplyCancelPolicy, xformsBC>
235 PrintDialog;
236
237 typedef GUI<ControlRef, FormRef, NoRepeatedApplyReadOnlyPolicy, xformsBC>
238 RefDialog;
239
240 typedef GUI<ControlSearch, FormSearch, NoRepeatedApplyReadOnlyPolicy, xformsBC>
241 SearchDialog;
242
243 typedef GUI<ControlSendto, FormSendto, OkApplyCancelPolicy, xformsBC>
244 SendtoDialog;
245
246 typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC>
247 SpellcheckerDialog;
248
249 typedef GUI<ControlTabular, FormTabular, NoRepeatedApplyReadOnlyPolicy, xformsBC>
250 TabularDialog;
251
252 typedef GUI<ControlTabularCreate, FormTabularCreate, OkApplyCancelReadOnlyPolicy, xformsBC>
253 TabularCreateDialog;
254
255 typedef GUI<ControlTexinfo, FormTexinfo, OkCancelPolicy, xformsBC>
256 TexinfoDialog;
257
258 #ifdef HAVE_LIBAIKSAURUS
259 typedef GUI<ControlThesaurus, FormThesaurus, OkApplyCancelReadOnlyPolicy, xformsBC>
260 ThesaurusDialog;
261 #endif
262
263 typedef GUI<ControlToc, FormToc, OkCancelPolicy, xformsBC>
264 TocDialog;
265
266 typedef GUI<ControlUrl, FormUrl, NoRepeatedApplyReadOnlyPolicy, xformsBC>
267 UrlDialog;
268
269 typedef GUI<ControlVCLog, FormVCLog, OkCancelPolicy, xformsBC>
270 VCLogFileDialog;
271
272 typedef GUI<ControlWrap, FormWrap, NoRepeatedApplyReadOnlyPolicy, xformsBC>
273 WrapDialog;
274
275 struct Dialogs::Impl {
276         Impl(LyXView & lv, Dialogs & d);
277
278         AboutlyxDialog      aboutlyx;
279         BibitemDialog       bibitem;
280         BibtexDialog        bibtex;
281         ChangesDialog       changes;
282         CharacterDialog     character;
283         CitationDialog      citation;
284         DocumentDialog      document;
285         ErrorDialog         error;
286         ERTDialog           ert;
287         ExternalDialog      external;
288         FileDialog          file;
289         FloatDialog         floats;
290         ForksDialog         forks;
291         GraphicsDialog      graphics;
292         IncludeDialog       include;
293         IndexDialog         index;
294         LogFileDialog       logfile;
295         MathPanelDialog     mathpanel;
296         MinipageDialog      minipage;
297         ParagraphDialog     paragraph;
298         PreambleDialog      preamble;
299         PreferencesDialog   preferences;
300         PrintDialog         print;
301         RefDialog           ref;
302         SearchDialog        search;
303         SendtoDialog        sendto;
304         SpellcheckerDialog  spellchecker;
305         TabularDialog       tabular;
306         TabularCreateDialog tabularcreate;
307         TexinfoDialog       texinfo;
308
309 #ifdef HAVE_LIBAIKSAURUS
310         ThesaurusDialog     thesaurus;
311 #endif
312
313         TocDialog           toc;
314         UrlDialog           url;
315         VCLogFileDialog     vclogfile;
316         WrapDialog          wrap;
317 };
318
319 #endif // DIALOGS_IMPL_H