|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/sequin/sequiny.h |
source navigation diff markup identifier search freetext search file search |
1 /* sequiny.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: sequiny.h
27 *
28 * Author: Jim Ostell
29 *
30 * Version Creation Date: 5/24/96
31 *
32 * $Revision: 6.0 $
33 *
34 * File Description: header file for sequiny.c -- demo of how to add your
35 * own functions to sequin
36 *
37 * Modifications:
38 * --------------------------------------------------------------------------
39 * Date Name Description of modification
40 * ------- ---------- -----------------------------------------------------
41 *
42 *
43 * ==========================================================================
44 */
45
46 #ifndef _SEQUIN_
47 #include "sequin.h"
48 #endif
49
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53
54 /***** this section defines the functions *****/
55
56 Int2 LIBCALLBACK MyBioseqEditFunc (Pointer data); /* the work function */
57
58 /** the define below is used to register the function above ****
59 OMPROC_EDIT - it is class editor
60 "My Edit Bioseq" - is the name of the proceedure
61 "MyBioseqEditor" - will appear on the desktop menu under "Edit"
62 OBJ_BIOSEQ - input is a Bioseq
63 2 - only Bioseq.repr = "raw"
64 OBJ_BIOSEQ - output is a Bioseq
65 2 - only Bioseq.repr = "raw"
66 NULL - pointer to user data. Will be passed back whenever proceedure is invoked
67 MyBioseqEditFunc - the function to call when procedure is invoked
68 PROC_PRIORITY_DEFAULT - this function will be higher priority than any registered
69 before this call, and lower than any registered after this call.
70
71 *************************************************************/
72
73 #define REGISTER_MY_BIOSEQ_EDIT ObjMgrProcLoad(OMPROC_EDIT,"My Edit Bioseq","MyBioseqEditor",OBJ_BIOSEQ,2,OBJ_BIOSEQ,2,NULL,MyBioseqEditFunc,PROC_PRIORITY_DEFAULT)
74
75
76 #ifdef __cplusplus
77 }
78 #endif
79
80
81 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |