Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI___GUI_EXPORT__H
2 #define GUI___GUI_EXPORT__H
50 #if defined(NCBI_OS_MSWIN) && defined(NCBI_DLL_BUILD)
53 # error "This toolkit is not buildable with a compiler other than MSVC."
60 #pragma warning (disable : 4191)
72 #ifdef NCBI_GUIUTILS_EXPORTS
73 # define NCBI_GUIOBJUTILS_EXPORTS
74 # define NCBI_GUIOBJCOORDS_EXPORTS
75 # define NCBI_GUIMATH_EXPORTS
78 #ifdef NCBI_GUIOPENGL_EXPORTS
79 # define NCBI_GUIPRINT_EXPORTS
86 #ifdef NCBI_GUIWIDGETS_EXPORTS
87 # define NCBI_GUIWIDGETS_WX_EXPORTS
88 # define NCBI_GUIWIDGETS_GL_EXPORTS
89 # define NCBI_GUIWIDGETS_CONFIG_EXPORTS
90 # define NCBI_GUIWIDGETS_DATA_EXPORTS
91 # define NCBI_GUIWIDGETS_LOADERS_EXPORTS
92 # define NCBI_GUIWIDGETS_ALNSCORE_EXPORTS
93 # define NCBI_GUIWIDGETS_FEEDBACK_EXPORTS
100 #ifdef NCBI_GUIWIDGETS_ALN_EXPORTS
101 # define NCBI_GUIWIDGETS_ALNCROSSALN_EXPORTS
102 # define NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORTS
103 # define NCBI_GUIWIDGETS_ALNTABLE_EXPORTS
104 # define NCBI_GUIWIDGETS_HIT_MATRIX_EXPORTS
110 #ifdef NCBI_GUIWIDGETS_MISC_EXPORTS
111 # define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORTS
112 # define NCBI_GUIWIDGETS_OBJECT_LIST_EXPORTS
113 # define NCBI_GUIWIDGETS_TEXT_WIDGET_EXPORTS
114 # define NCBI_GUIWIDGETS_GRID_WIDGET_EXPORTS
115 # define NCBI_GUIWIDGETS_MACRO_EDIT_EXPORTS
121 #ifdef NCBI_GUIWIDGETS_SEQ_EXPORTS
122 # define NCBI_GUIWIDGETS_EDIT_EXPORTS
123 # define NCBI_GUIWIDGETS_FEATCOMPARE_EXPORTS
124 # define NCBI_GUIWIDGETS_FEATTABLE_EXPORTS
125 # define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORTS
126 # define NCBI_GUIWIDGETS_SEQTEXT_EXPORTS
127 # define NCBI_GUIWIDGETS_TAXTREE_EXPORTS
128 # define NCBI_GUIWIDGETS_DESKTOP_EXPORTS
134 #ifdef NCBI_GUICORE_EXPORTS
135 # define NCBI_GUIFRAMEWORK_EXPORTS
149 #ifdef NCBI_GUIWIDGETS_CONFIG_EXPORTS
150 # define NCBI_GUIWIDGETS_CONFIG_EXPORT __declspec(dllexport)
152 # define NCBI_GUIWIDGETS_CONFIG_EXPORT __declspec(dllimport)
158 #ifdef NCBI_GUICONFIG_EXPORTS
159 # define NCBI_GUICONFIG_EXPORT __declspec(dllexport)
161 # define NCBI_GUICONFIG_EXPORT __declspec(dllimport)
167 #ifdef NCBI_GUICORE_EXPORTS
168 # define NCBI_GUICORE_EXPORT __declspec(dllexport)
170 # define NCBI_GUICORE_EXPORT __declspec(dllimport)
177 #ifdef NCBI_GUIOBJECTS_EXPORTS
178 # define NCBI_GUIOBJECTS_EXPORT __declspec(dllexport)
180 # define NCBI_GUIOBJECTS_EXPORT __declspec(dllimport)
187 #ifdef NCBI_GUIGRAPH_EXPORTS
188 # define NCBI_GUIGRAPH_EXPORT __declspec(dllexport)
190 # define NCBI_GUIGRAPH_EXPORT __declspec(dllimport)
196 #ifdef NCBI_GUIOBJUTILS_EXPORTS
197 # define NCBI_GUIOBJUTILS_EXPORT __declspec(dllexport)
199 # define NCBI_GUIOBJUTILS_EXPORT __declspec(dllimport)
205 #ifdef NCBI_GUIOBJCOORDS_EXPORTS
206 # define NCBI_GUIOBJCOORDS_EXPORT __declspec(dllexport)
208 # define NCBI_GUIOBJCOORDS_EXPORT __declspec(dllimport)
214 #ifdef NCBI_GUIOPENGL_EXPORTS
215 # define NCBI_GUIOPENGL_EXPORT __declspec(dllexport)
217 # define NCBI_GUIOPENGL_EXPORT __declspec(dllimport)
223 #ifdef NCBI_GUIPRINT_EXPORTS
224 # define NCBI_GUIPRINT_EXPORT __declspec(dllexport)
226 # define NCBI_GUIPRINT_EXPORT __declspec(dllimport)
232 #ifdef NCBI_GUIUTILS_EXPORTS
233 # define NCBI_GUIUTILS_EXPORT __declspec(dllexport)
235 # define NCBI_GUIUTILS_EXPORT __declspec(dllimport)
241 #ifdef NCBI_GUIWIDGETS_SEQ_EXPORTS
242 # define NCBI_GUIWIDGETS_SEQ_EXPORT __declspec(dllexport)
244 # define NCBI_GUIWIDGETS_SEQ_EXPORT __declspec(dllimport)
250 #ifdef NCBI_GUIWIDGETS_SEQTEXT_EXPORTS
251 # define NCBI_GUIWIDGETS_SEQTEXT_EXPORT __declspec(dllexport)
253 # define NCBI_GUIWIDGETS_SEQTEXT_EXPORT __declspec(dllimport)
259 #ifdef NCBI_GUIWIDGETS_DESKTOP_EXPORTS
260 # define NCBI_GUIWIDGETS_DESKTOP_EXPORT __declspec(dllexport)
262 # define NCBI_GUIWIDGETS_DESKTOP_EXPORT __declspec(dllimport)
268 #ifdef NCBI_GUIWIDGETS_FEATCOMPARE_EXPORTS
269 # define NCBI_GUIWIDGETS_FEATCOMPARE_EXPORT __declspec(dllexport)
271 # define NCBI_GUIWIDGETS_FEATCOMPARE_EXPORT __declspec(dllimport)
277 #ifdef NCBI_GUIWIDGETS_FEATTABLE_EXPORTS
278 # define NCBI_GUIWIDGETS_FEATTABLE_EXPORT __declspec(dllexport)
280 # define NCBI_GUIWIDGETS_FEATTABLE_EXPORT __declspec(dllimport)
286 #ifdef NCBI_GUIWIDGETS_DATA_EXPORTS
287 # define NCBI_GUIWIDGETS_DATA_EXPORT __declspec(dllexport)
289 # define NCBI_GUIWIDGETS_DATA_EXPORT __declspec(dllimport)
295 #ifdef NCBI_GUIWIDGETS_LOADERS_EXPORTS
296 # define NCBI_GUIWIDGETS_LOADERS_EXPORT __declspec(dllexport)
298 # define NCBI_GUIWIDGETS_LOADERS_EXPORT __declspec(dllimport)
304 #ifdef NCBI_GUIWIDGETS_ALNCROSSALN_EXPORTS
305 # define NCBI_GUIWIDGETS_ALNCROSSALN_EXPORT __declspec(dllexport)
307 # define NCBI_GUIWIDGETS_ALNCROSSALN_EXPORT __declspec(dllimport)
313 #ifdef NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORTS
314 # define NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORT __declspec(dllexport)
316 # define NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORT __declspec(dllimport)
322 #ifdef NCBI_GUIWIDGETS_ALNSCORE_EXPORTS
323 # define NCBI_GUIWIDGETS_ALNSCORE_EXPORT __declspec(dllexport)
325 # define NCBI_GUIWIDGETS_ALNSCORE_EXPORT __declspec(dllimport)
331 #ifdef NCBI_GUIWIDGETS_ALNTABLE_EXPORTS
332 # define NCBI_GUIWIDGETS_ALNTABLE_EXPORT __declspec(dllexport)
334 # define NCBI_GUIWIDGETS_ALNTABLE_EXPORT __declspec(dllimport)
340 #ifdef NCBI_GUIWIDGETS_WX_EXPORTS
341 # define NCBI_GUIWIDGETS_WX_EXPORT __declspec(dllexport)
343 # define NCBI_GUIWIDGETS_WX_EXPORT __declspec(dllimport)
349 #ifdef NCBI_GUIWIDGETS_GL_EXPORTS
350 # define NCBI_GUIWIDGETS_GL_EXPORT __declspec(dllexport)
352 # define NCBI_GUIWIDGETS_GL_EXPORT __declspec(dllimport)
358 #ifdef NCBI_GUIWIDGETS_HIT_MATRIX_EXPORTS
359 # define NCBI_GUIWIDGETS_HIT_MATRIX_EXPORT __declspec(dllexport)
361 # define NCBI_GUIWIDGETS_HIT_MATRIX_EXPORT __declspec(dllimport)
367 #ifdef NCBI_GUIWIDGETS_PHYLO_TREE_EXPORTS
368 # define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORT __declspec(dllexport)
370 # define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORT __declspec(dllimport)
376 #ifdef NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORTS
377 # define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT __declspec(dllexport)
379 # define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT __declspec(dllimport)
385 #ifdef NCBI_GUIWIDGETS_SEQ_EXPORTS
386 # define NCBI_GUIWIDGETS_SEQ_EXPORT __declspec(dllexport)
388 # define NCBI_GUIWIDGETS_SEQ_EXPORT __declspec(dllimport)
394 #ifdef NCBI_GUIWIDGETS_SNP_EXPORTS
395 # define NCBI_GUIWIDGETS_SNP_EXPORT __declspec(dllexport)
397 # define NCBI_GUIWIDGETS_SNP_EXPORT __declspec(dllimport)
403 #ifdef NCBI_GUIWIDGETS_TAXTREE_EXPORTS
404 # define NCBI_GUIWIDGETS_TAXTREE_EXPORT __declspec(dllexport)
406 # define NCBI_GUIWIDGETS_TAXTREE_EXPORT __declspec(dllimport)
412 #ifdef NCBI_GUIWIDGETS_OBJECT_LIST_EXPORTS
413 # define NCBI_GUIWIDGETS_OBJECT_LIST_EXPORT __declspec(dllexport)
415 # define NCBI_GUIWIDGETS_OBJECT_LIST_EXPORT __declspec(dllimport)
421 #ifdef NCBI_GUIWIDGETS_TEXT_WIDGET_EXPORTS
422 # define NCBI_GUIWIDGETS_TEXT_WIDGET_EXPORT __declspec(dllexport)
424 # define NCBI_GUIWIDGETS_TEXT_WIDGET_EXPORT __declspec(dllimport)
430 #ifdef NCBI_GUIWIDGETS_GRID_WIDGET_EXPORTS
431 # define NCBI_GUIWIDGETS_GRID_WIDGET_EXPORT __declspec(dllexport)
433 # define NCBI_GUIWIDGETS_GRID_WIDGET_EXPORT __declspec(dllimport)
439 #ifdef NCBI_GUIWIDGETS_MACRO_EDIT_EXPORTS
440 # define NCBI_GUIWIDGETS_MACRO_EDIT_EXPORT __declspec(dllexport)
442 # define NCBI_GUIWIDGETS_MACRO_EDIT_EXPORT __declspec(dllimport)
448 #ifdef NCBI_GUIWIDGETS_EDIT_EXPORTS
449 # define NCBI_GUIWIDGETS_EDIT_EXPORT __declspec(dllexport)
451 # define NCBI_GUIWIDGETS_EDIT_EXPORT __declspec(dllimport)
458 #ifdef NCBI_GUIPKG_SEQUENCE_EDIT_EXPORTS
459 # define NCBI_GUIPKG_SEQUENCE_EDIT_EXPORT __declspec(dllexport)
461 # define NCBI_GUIPKG_SEQUENCE_EDIT_EXPORT __declspec(dllimport)
468 #ifdef NCBI_GUISERVICES_EXPORTS
469 # define NCBI_GUISERVICES_EXPORT __declspec(dllexport)
471 # define NCBI_GUISERVICES_EXPORT __declspec(dllimport)
477 #ifdef NCBI_GUIFRAMEWORK_EXPORTS
478 # define NCBI_GUIFRAMEWORK_EXPORT __declspec(dllexport)
480 # define NCBI_GUIFRAMEWORK_EXPORT __declspec(dllimport)
486 #ifdef NCBI_GUIVIEW_ALIGN_EXPORTS
487 # define NCBI_GUIVIEW_ALIGN_EXPORT __declspec(dllexport)
489 # define NCBI_GUIVIEW_ALIGN_EXPORT __declspec(dllimport)
495 #ifdef NCBI_GUIWIDGETS_FEEDBACK_EXPORTS
496 # define NCBI_GUIWIDGETS_FEEDBACK_EXPORT __declspec(dllexport)
498 # define NCBI_GUIWIDGETS_FEEDBACK_EXPORT __declspec(dllimport)
507 # define NCBI_GUICONFIG_EXPORT
508 # define NCBI_GUICORE_EXPORT
509 # define NCBI_GUIFRAMEWORK_EXPORT
510 # define NCBI_GUIGRAPH_EXPORT
511 # define NCBI_GUIOBJECTS_EXPORT
512 # define NCBI_GUIOBJUTILS_EXPORT
513 # define NCBI_GUIOBJCOORDS_EXPORT
514 # define NCBI_GUIOPENGL_EXPORT
515 # define NCBI_GUIPKG_SEQUENCE_EDIT_EXPORT
516 # define NCBI_GUIPRINT_EXPORT
517 # define NCBI_GUISERVICES_EXPORT
518 # define NCBI_GUIUTILS_EXPORT
519 # define NCBI_GUIWIDGETS_ALNCROSSALN_EXPORT
520 # define NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORT
521 # define NCBI_GUIWIDGETS_ALNSCORE_EXPORT
522 # define NCBI_GUIWIDGETS_ALNTABLE_EXPORT
523 # define NCBI_GUIWIDGETS_CONFIG_EXPORT
524 # define NCBI_GUIWIDGETS_DATA_EXPORT
525 # define NCBI_GUIWIDGETS_LOADERS_EXPORT
526 # define NCBI_GUIWIDGETS_EDIT_EXPORT
527 # define NCBI_GUIWIDGETS_FEATCOMPARE_EXPORT
528 # define NCBI_GUIWIDGETS_FEATTABLE_EXPORT
529 # define NCBI_GUIWIDGETS_GL_EXPORT
530 # define NCBI_GUIWIDGETS_HIT_MATRIX_EXPORT
531 # define NCBI_GUIWIDGETS_OBJECT_LIST_EXPORT
532 # define NCBI_GUIWIDGETS_TEXT_WIDGET_EXPORT
533 # define NCBI_GUIWIDGETS_GRID_WIDGET_EXPORT
534 # define NCBI_GUIWIDGETS_MACRO_EDIT_EXPORT
535 # define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORT
536 # define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
537 # define NCBI_GUIWIDGETS_SEQTREE_EXPORT
538 # define NCBI_GUIWIDGETS_SEQTEXT_EXPORT
539 # define NCBI_GUIWIDGETS_SEQ_EXPORT
540 # define NCBI_GUIWIDGETS_SNP_EXPORT
541 # define NCBI_GUIWIDGETS_TAXTREE_EXPORT
542 # define NCBI_GUIWIDGETS_DESKTOP_EXPORT
543 # define NCBI_GUIWIDGETS_WX_EXPORT
544 # define NCBI_GUIVIEW_ALIGN_EXPORT
545 # define NCBI_GUIWIDGETS_FEEDBACK_EXPORT
Defines to provide correct exporting from DLLs in some configurations.