1 /*  $Id: cn3dentr.h,v 6.2 1999/10/29 14:15:27 thiessen Exp $
2 * ===========================================================================
3 *
4 *                            PUBLIC DOMAIN NOTICE
5 *            National Center for Biotechnology Information (NCBI)
6 *
7 *  This software/database is a "United States Government Work" under the
8 *  terms of the United States Copyright Act.  It was written as part of
9 *  the author's official duties as a United States Government employee and
10 *  thus cannot be copyrighted.  This software/database is freely available
11 *  to the public for use. The National Library of Medicine and the U.S.
12 *  Government do not place any restriction on its use or reproduction.
13 *  We would, however, appreciate having the NCBI and the author cited in
14 *  any work or product based on this material
15 *
16 *  Although all reasonable efforts have been taken to ensure the accuracy
17 *  and reliability of the software and data, the NLM and the U.S.
18 *  Government do not and cannot warrant the performance or results that
19 *  may be obtained by using this software or data. The NLM and the U.S.
20 *  Government disclaim all warranties, express or implied, including
21 *  warranties of performance, merchantability or fitness for any particular
22 *  purpose.
23 *
24 * ===========================================================================
25 *
26 * Author:  Christopher Hogue, Denis Vakatov
27 *
28 * Version Creation Date:   3/19/97
29 *
30 * File Description:  Entry point from Entrez to Cn3D
31 *
32 * Modifications:
33 * --------------------------------------------------------------------------
34 * $Log: cn3dentr.h,v $
35 * Revision 6.2  1999/10/29 14:15:27  thiessen
36 * ran all Cn3D source through GNU Indent to prettify
37 *
38 * Revision 6.1  1999/01/14 19:07:16  kans
39 * network availability is configurable
40 *
41 * Revision 6.0  1997/08/25 18:13:29  madden
42 * Revision changed to 6.0
43 *
44 * Revision 1.2  1997/07/29 21:17:08  vakatov
45 * [WIN32,DLL]  Made Cn3D's stubbed functions be DLL-exportable
46 *
47 * Revision 1.1  1997/03/20 16:24:17  vakatov
48 * Initial revision
49 *
50 *
51 * ==========================================================================
52 */
53 
54 #ifndef _CN3DENTR_
55 #define _CN3DENTR_
56 
57 #include <ncbi.h>
58 
59 #undef NLM_EXTERN
60 #ifdef NLM_IMPORT
61 #define NLM_EXTERN NLM_IMPORT
62 #else
63 #define NLM_EXTERN extern
64 #endif
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif
69 /* Set Query callback and data
70  */
71 NLM_EXTERN void LIBCALL Cn3D_SetQueryCallback(BeepHook, VoidPtr);
72 
73 /* Create CN3D window with some Entrez specifics;  return the created WindoW
74  */
75 NLM_EXTERN Handle LIBCALL Cn3DWin_Entrez(ItmActnProc netconfig,
76                                          Boolean usingEntrez);
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 #undef NLM_EXTERN
82 #ifdef NLM_EXPORT
83 #define NLM_EXTERN NLM_EXPORT
84 #else
85 #define NLM_EXTERN
86 #endif
87 #endif                          /* _CN3DENTR_ */
88