1 | #ifndef GEN_HXX |
---|
2 | #define GEN_HXX |
---|
3 | |
---|
4 | #ifndef ARBDB_H |
---|
5 | #include <arbdb.h> |
---|
6 | #endif |
---|
7 | #ifndef AW_WINDOW_HXX |
---|
8 | #include <aw_window.hxx> |
---|
9 | #endif |
---|
10 | #ifndef ADGENE_H |
---|
11 | #include <adGene.h> |
---|
12 | #endif |
---|
13 | |
---|
14 | class AWT_canvas; |
---|
15 | |
---|
16 | // -------------------------------------------------------------------------------- |
---|
17 | // this header is visible ARB-wide (so here are only things needed somewhere else) |
---|
18 | // see GEN_local.hxx for local stuff |
---|
19 | // -------------------------------------------------------------------------------- |
---|
20 | |
---|
21 | // -------------------------------------------------------------------------------- |
---|
22 | // awars: |
---|
23 | |
---|
24 | #define AWAR_GENE_NAME "tmp/gene/name" |
---|
25 | |
---|
26 | void GEN_create_awars(AW_root *aw_root, AW_default aw_def); |
---|
27 | |
---|
28 | // -------------------------------------------------------------------------------- |
---|
29 | // windows/menus: |
---|
30 | |
---|
31 | AW_window *GEN_create_gene_window(AW_root *aw_root); |
---|
32 | void GEN_popup_gene_window(AW_window *aww, AW_CL, AW_CL); // preferred over GEN_create_gene_window |
---|
33 | AW_window *GEN_create_gene_query_window(AW_root *aw_root); |
---|
34 | AW_window *GEN_map_first(AW_root *aw_root); |
---|
35 | |
---|
36 | void GEN_create_genes_submenu(AW_window_menu_modes *awm, bool for_ARB_NTREE); |
---|
37 | |
---|
38 | // -------------------------------------------------------------------------------- |
---|
39 | // genes: |
---|
40 | |
---|
41 | #define ARB_HIDDEN "ARB_display_hidden" |
---|
42 | |
---|
43 | GBDATA* GEN_get_current_organism(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME |
---|
44 | GBDATA* GEN_get_current_gene_data(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME |
---|
45 | GBDATA* GEN_get_current_gene(GBDATA *gb_main, AW_root *aw_root); // searches the current gene (using AWAR_ORGANISM_NAME and AWAR_GENE_NAME) |
---|
46 | |
---|
47 | // -------------------------------------------------------------------------------- |
---|
48 | // toolkit: |
---|
49 | |
---|
50 | // in adtools.c: |
---|
51 | // char *GBT_read_gene_sequence P_((GBDATA *gb_gene)); |
---|
52 | |
---|
53 | void GEN_select_gene(GBDATA* gb_main, AW_root *aw_root, const char *item_name); |
---|
54 | |
---|
55 | #endif // GEN_HXX |
---|