📄 mswin_export.h
字号:
/* * =========================================================================== * PRODUCTION $Log: mswin_export.h,v $ * PRODUCTION Revision 1000.6 2004/06/01 19:07:33 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.74 * PRODUCTION * =========================================================================== */#ifndef CORELIB___MSWIN_EXPORT__H#define CORELIB___MSWIN_EXPORT__H/* $Id: mswin_export.h,v 1000.6 2004/06/01 19:07:33 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Author: Mike DiCuccio * * File Description: * Defines to provide correct exporting from DLLs in Windows. * These are necessary to compile DLLs with Visual C++ - exports must be * explicitly labeled as such. */#if defined(NCBI_OS_MSWIN) && defined(NCBI_DLL_BUILD)#ifndef _MSC_VER# error "This toolkit is not buildable with a compiler other than MSVC."#endif/* * Dumping ground for Windows-specific stuff */#pragma warning (disable : 4786 4251 4275)/* * ------------------------------------------------- * DLL clusters *//* * Definitions for NCBI_CORE.DLL */#ifdef NCBI_CORE_EXPORTS# define NCBI_XNCBI_EXPORTS# define NCBI_XSERIAL_EXPORTS# define NCBI_XUTIL_EXPORTS# define NCBI_XREGEXP_EXPORTS#endif/* * Definitions for NCBI_PUB.DLL */#ifdef NCBI_PUB_EXPORTS# define NCBI_BIBLIO_EXPORTS# define NCBI_MEDLINE_EXPORTS# define NCBI_MEDLARS_EXPORTS# define NCBI_MLA_EXPORTS# define NCBI_PUBMED_EXPORTS#endif/* * Definitions for NCBI_SEQ.DLL */#ifdef NCBI_SEQ_EXPORTS# define NCBI_BLAST_EXPORTS# define NCBI_BLASTDB_EXPORTS# define NCBI_ID1_EXPORTS# define NCBI_ID2_EXPORTS# define NCBI_SCOREMAT_EXPORTS# define NCBI_SEQALIGN_EXPORTS# define NCBI_SEQBLOCK_EXPORTS# define NCBI_SEQCODE_EXPORTS# define NCBI_SEQFEAT_EXPORTS# define NCBI_SEQLOC_EXPORTS# define NCBI_SEQRES_EXPORTS# define NCBI_SEQSET_EXPORTS# define NCBI_SUBMIT_EXPORTS# define NCBI_TAXON1_EXPORTS#endif/* * Definitions for NCBI_SEQEXT.DLL */#ifdef NCBI_SEQEXT_EXPORTS# define NCBI_FLAT_EXPORTS# define NCBI_XALNMGR_EXPORTS# define NCBI_XOBJMGR_EXPORTS# define NCBI_XOBJREAD_EXPORTS# define NCBI_XOBJUTIL_EXPORTS# define NCBI_XOBJMANIP_EXPORTS# define NCBI_FORMAT_EXPORTS#endif/* * Definitions for NCBI_MISC.DLL */#ifdef NCBI_MISC_EXPORTS# define NCBI_ACCESS_EXPORTS# define NCBI_DOCSUM_EXPORTS# define NCBI_ENTREZ2_EXPORTS# define NCBI_FEATDEF_EXPORTS# define NCBI_GBSEQ_EXPORTS# define NCBI_INSDSEQ_EXPORTS# define NCBI_MIM_EXPORTS# define NCBI_OBJPRT_EXPORTS# define NCBI_TINYSEQ_EXPORTS# define NCBI_ENTREZGENE_EXPORTS# define NCBI_BIOTREE_EXPORTS#endif/* * Definitions for NCBI_MMDB.DLL */#ifdef NCBI_MMDB_EXPORTS# define NCBI_CDD_EXPORTS# define NCBI_CN3D_EXPORTS# define NCBI_MMDB1_EXPORTS# define NCBI_MMDB2_EXPORTS# define NCBI_MMDB3_EXPORTS# define NCBI_NCBIMIME_EXPORTS#endif/* * Definitions for NCBI_ALGO.DLL */#ifdef NCBI_XALGO_EXPORTS# define NCBI_XALGOALIGN_EXPORTS# define NCBI_XALGOSEQ_EXPORTS# define NCBI_XALGOGNOMON_EXPORTS# define NCBI_XBLAST_EXPORTS# define NCBI_XALGOPHYTREE_EXPORTS#endif/* * Definitions for NCBI_WEB.DLL */#ifdef NCBI_WEB_EXPORTS# define NCBI_XHTML_EXPORTS# define NCBI_XCGI_EXPORTS# define NCBI_XCGI_REDIRECT_EXPORTS#endif/* * Definitions for NCBI_ALGO_MS.DLL */#ifdef NCBI_ALGOMS_EXPORTS# define NCBI_OMSSA_EXPORTS# define NCBI_XOMSSA_EXPORTS#endif/* * Definitions for GUI_UTILS.DLL */#ifdef NCBI_GUIUTILS_EXPORTS# define NCBI_GUIOBJUTILS_EXPORTS# define NCBI_GUIOPENGL_EXPORTS# define NCBI_GUIMATH_EXPORTS#endif/* * Definitions for GUI_CORE.DLL */#ifdef NCBI_GUICORE_EXPORTS# define NCBI_XGBPLUGIN_EXPORTS#endif/* * Definitions for GUI_WIDGETS.DLL */#ifdef NCBI_GUIWIDGETS_EXPORTS# define NCBI_GUIWIDGETS_FL_EXPORTS# define NCBI_GUIWIDGETS_GL_EXPORTS# define NCBI_GUIWIDGETS_FLTABLE_EXPORTS# define NCBI_GUIWIDGETS_FLU_EXPORTS# define NCBI_GUIWIDGETS_TABLE_EXPORTS# define NCBI_GUIWIDGETS_TOPLEVEL_EXPORTS# define NCBI_GUIWIDGETS_WORKSPACE_EXPORTS#endif/* * Definitions for GUI_WIDGETS_ALN.DLL */#ifdef NCBI_GUIWIDGETSALN_EXPORTS# define NCBI_GUIWIDGETS_ALNCROSSALN_EXPORTS# define NCBI_GUIWIDGETS_ALNMULTIPLE_EXPORTS# define NCBI_GUIWIDGETS_ALNDOTMATRIX_EXPORTS# define NCBI_GUIWIDGETS_ALNTEXTALN_EXPORTS# define NCBI_GUIWIDGETS_HIT_MATRIX_EXPORTS#endif/* * Definitions for GUI_WIDGETS_SEQ.DLL */#ifdef NCBI_GUIWIDGETSSEQ_EXPORTS# define NCBI_GUIWIDGETS_SEQ_EXPORTS# define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORTS# define NCBI_GUIWIDGETS_SEQICON_EXPORTS# define NCBI_GUIWIDGETS_SEQINFO_EXPORTS#endif/* * Definitions for GUI_WIDGETS_SEQ.DLL */#ifdef NCBI_GUIWIDGETSMISC_EXPORTS# define NCBI_GUIWIDGETS_TAXPLOT_EXPORTS# define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORTS#endif/* ------------------------------------------------- *//* * Export specifier for library xncbi */#ifdef NCBI_XNCBI_EXPORTS# define NCBI_XNCBI_EXPORT __declspec(dllexport)#else# define NCBI_XNCBI_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xconnect: * included from <connect/connect_export.h> *//* * Export specifier for library xutil */#ifdef NCBI_XUTIL_EXPORTS# define NCBI_XUTIL_EXPORT __declspec(dllexport)#else# define NCBI_XUTIL_EXPORT __declspec(dllimport)#endif/* * Export specifier for library ximage */#ifdef NCBI_XIMAGE_EXPORTS# define NCBI_XIMAGE_EXPORT __declspec(dllexport)#else# define NCBI_XIMAGE_EXPORT __declspec(dllimport)#endif /* * Export specifier for library xregexp */#ifdef NCBI_XREGEXP_EXPORTS# define NCBI_XREGEXP_EXPORT __declspec(dllexport)#else# define NCBI_XREGEXP_EXPORT __declspec(dllimport)#endif /* * Export specifier for library xser */#ifdef NCBI_XSERIAL_EXPORTS# define NCBI_XSERIAL_EXPORT __declspec(dllexport)#else# define NCBI_XSERIAL_EXPORT __declspec(dllimport)#endif /* * Export specifier for library xhtml */#ifdef NCBI_XHTML_EXPORTS# define NCBI_XHTML_EXPORT __declspec(dllexport)#else# define NCBI_XHTML_EXPORT __declspec(dllimport)#endif /* * Export specifier for library xcgi */#ifdef NCBI_XCGI_EXPORTS# define NCBI_XCGI_EXPORT __declspec(dllexport)#else# define NCBI_XCGI_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xcgi_redirect */#ifdef NCBI_XCGI_REDIRECT_EXPORTS# define NCBI_XCGI_REDIRECT_EXPORT __declspec(dllexport)#else# define NCBI_XCGI_REDIRECT_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xalgoalign */#ifdef NCBI_XALGOALIGN_EXPORTS# define NCBI_XALGOALIGN_EXPORT __declspec(dllexport)#else# define NCBI_XALGOALIGN_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xalgoseq */#ifdef NCBI_XALGOSEQ_EXPORTS# define NCBI_XALGOSEQ_EXPORT __declspec(dllexport)#else# define NCBI_XALGOSEQ_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xalgophytree */#ifdef NCBI_XALGOPHYTREE_EXPORTS# define NCBI_XALGOPHYTREE_EXPORT __declspec(dllexport)#else# define NCBI_XALGOPHYTREE_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xalgognomon */#ifdef NCBI_XALGOGNOMON_EXPORTS# define NCBI_XALGOGNOMON_EXPORT __declspec(dllexport)#else# define NCBI_XALGOGNOMON_EXPORT __declspec(dllimport)#endif/* * Export specifier for library xblast */#ifdef NCBI_XBLAST_EXPORTS# define NCBI_XBLAST_EXPORT __declspec(dllexport)#else# define NCBI_XBLAST_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_flat */#ifdef NCBI_FLAT_EXPORTS# define NCBI_FLAT_EXPORT __declspec(dllexport)#else# define NCBI_FLAT_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_format */#ifdef NCBI_FORMAT_EXPORTS# define NCBI_FORMAT_EXPORT __declspec(dllexport)#else# define NCBI_FORMAT_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_biblio */#ifdef NCBI_BIBLIO_EXPORTS# define NCBI_BIBLIO_EXPORT __declspec(dllexport)#else# define NCBI_BIBLIO_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_biotree */#ifdef NCBI_BIOTREE_EXPORTS# define NCBI_BIOTREE_EXPORT __declspec(dllexport)#else# define NCBI_BIOTREE_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_blast */#ifdef NCBI_BLAST_EXPORTS# define NCBI_BLAST_EXPORT __declspec(dllexport)#else# define NCBI_BLAST_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_blastdb */#ifdef NCBI_BLASTDB_EXPORTS# define NCBI_BLASTDB_EXPORT __declspec(dllexport)#else# define NCBI_BLASTDB_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_scoremat */#ifdef NCBI_SCOREMAT_EXPORTS# define NCBI_SCOREMAT_EXPORT __declspec(dllexport)#else# define NCBI_SCOREMAT_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_medline */#ifdef NCBI_MEDLINE_EXPORTS# define NCBI_MEDLINE_EXPORT __declspec(dllexport)#else# define NCBI_MEDLINE_EXPORT __declspec(dllimport)#endif/* * Export specifier for library objects_medlars */#ifdef NCBI_MEDLARS_EXPORTS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -