root/trunk/ARB_GDE/gde.hxx

Revision 6867, 1.7 KB (checked in by westram, 20 months ago)
  • ARB GUI (merges [6844] [6845] [6847] [6858] [6861] from refactor)
    • new central header cb.h (planned to define ALL callbacks used in ARB here later)
    • refactored callback handling for some AW_root callbacks
      • AW_root_callback hides function ptr + arguments
      • AW_root_cblist hides lists of AW_root_callback
    • DRYed AW_RCB
    • reduced tight coupling between some of WINDOW/*.hxx (omg)
    • removed AWUSE
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// ================================================================ //
2//                                                                  //
3//   File      : gde.hxx                                            //
4//   Purpose   : external interface of GDE functionality            //
5//                                                                  //
6//   Institute of Microbiology (Technical University Munich)        //
7//   http://www.arb-home.de/                                        //
8//                                                                  //
9// ================================================================ //
10
11#ifndef GDE_HXX
12#define GDE_HXX
13
14#ifndef AW_BASE_HXX
15#include <aw_base.hxx>
16#endif
17
18
19typedef unsigned char uchar;
20enum gde_window_type {
21    GDE_WINDOWTYPE_DEFAULT,
22    GDE_WINDOWTYPE_EDIT4, 
23};
24
25typedef char *(*GDE_get_sequences_cb)(AW_CL     cd,
26                                      GBDATA **&the_species,
27                                      uchar  **&the_names,
28                                      uchar  **&the_sequences,
29                                      long     &numberspecies,
30                                      long     &maxalignlen);
31
32void GDE_create_var(AW_root              *aw_root,
33                    AW_default            aw_def,
34                    GBDATA               *gb_main,
35                    GDE_get_sequences_cb  get_sequences = 0,
36                    gde_window_type       wt            = GDE_WINDOWTYPE_DEFAULT,
37                    AW_CL                 client_data   = 0);
38
39void GDE_load_menu(AW_window *awm, AW_active, const char *menulabel=0, const char *menuitemlabel=0);
40
41#else
42#error gde.hxx included twice
43#endif // GDE_HXX
Note: See TracBrowser for help on using the browser.