1 /* vibmain.h 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 * File Name: vibmain.h 27 * 28 * Author: Jonathan Kans 29 * 30 * Version Creation Date: 12/13/06 31 * 32 * $Revision: 1.1 $ 33 * 34 * File Description: 35 * Vibrant main functions 36 * 37 * ========================================================================== 38 */ 39 40 #ifndef _VIBMAIN_ 41 #define _VIBMAIN_ 42 43 #ifndef _NCBI_ 44 #include <ncbi.h> 45 #endif 46 47 48 #ifdef WIN_MAC 49 #ifdef OS_UNIX_DARWIN 50 extern int Nlm_VibMainPrelude (int argc, char *argv[]); 51 extern int Nlm_VibMainFinale (int argc, char *argv[]); 52 #else 53 extern void Nlm_VibMainPrelude (); 54 extern void Nlm_VibMainFinale (); 55 #endif 56 #endif 57 58 59 #ifdef WIN_MSWIN 60 extern int CALLBACK Nlm_VibMainPrelude ( 61 HINSTANCE hInstance, 62 HINSTANCE hPrevInstance, 63 LPSTR lpszCmdLine, 64 int nCmdShow 65 ); 66 extern int CALLBACK Nlm_VibMainFinale ( 67 HINSTANCE hInstance, 68 HINSTANCE hPrevInstance, 69 LPSTR lpszCmdLine, 70 int nCmdShow 71 ); 72 #endif 73 74 75 #ifdef WIN_MOTIF 76 #if defined(OS_UNIX) && defined(COMP_SUNPRO) 77 extern void Nlm_VibMainPrelude (int argc, char *argv[], char *envp[]); 78 extern void Nlm_VibMainFinale (int argc, char *argv[], char *envp[]); 79 #else 80 extern void Nlm_VibMainPrelude (int argc, char *argv[]); 81 extern void Nlm_VibMainFinale (int argc, char *argv[]); 82 #endif 83 #endif 84 85 #endif /* _VIBMAIN_ */ 86 87