| 1 | // =============================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : GEN.hxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Coded by Ralf Westram (coder@reallysoft.de) in January 2001 // |
|---|
| 7 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 8 | // http://www.arb-home.de/ // |
|---|
| 9 | // // |
|---|
| 10 | // =============================================================== // |
|---|
| 11 | |
|---|
| 12 | #ifndef GEN_HXX |
|---|
| 13 | #define GEN_HXX |
|---|
| 14 | |
|---|
| 15 | #ifndef AW_BASE_HXX |
|---|
| 16 | #include <aw_base.hxx> |
|---|
| 17 | #endif |
|---|
| 18 | #ifndef ARBDB_BASE_H |
|---|
| 19 | #include <arbdb_base.h> |
|---|
| 20 | #endif |
|---|
| 21 | #ifndef ITEMS_H |
|---|
| 22 | #include <items.h> |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | // -------------------------------------------------------------------------------- |
|---|
| 26 | // this header is visible ARB-wide (so here are only things needed somewhere else) |
|---|
| 27 | // see GEN_local.hxx for local stuff |
|---|
| 28 | // -------------------------------------------------------------------------------- |
|---|
| 29 | |
|---|
| 30 | // -------------------------------------------------------------------------------- |
|---|
| 31 | // awars: |
|---|
| 32 | |
|---|
| 33 | #define AWAR_GENE_NAME "tmp/gene/name" |
|---|
| 34 | |
|---|
| 35 | void GEN_create_awars(AW_root *aw_root, AW_default aw_def, GBDATA *gb_main); |
|---|
| 36 | |
|---|
| 37 | // -------------------------------------------------------------------------------- |
|---|
| 38 | // windows/menus: |
|---|
| 39 | |
|---|
| 40 | void GEN_popup_gene_infowindow(AW_root *aw_root, GBDATA *gb_main); |
|---|
| 41 | AW_window *GEN_create_gene_query_window(AW_root *aw_root, GBDATA *gb_main); |
|---|
| 42 | AW_window *GEN_create_first_map(AW_root *aw_root, GBDATA *gb_main); |
|---|
| 43 | |
|---|
| 44 | class AW_window_menu_modes; |
|---|
| 45 | void GEN_create_genes_submenu(AW_window_menu_modes *awm, GBDATA *gb_main, bool for_ARB_NTREE); |
|---|
| 46 | |
|---|
| 47 | // -------------------------------------------------------------------------------- |
|---|
| 48 | // genes: |
|---|
| 49 | |
|---|
| 50 | GBDATA* GEN_get_current_organism(GBDATA *gb_main); // uses AWAR_ORGANISM_NAME |
|---|
| 51 | |
|---|
| 52 | // -------------------------------------------------------------------------------- |
|---|
| 53 | // toolkit: |
|---|
| 54 | |
|---|
| 55 | class AW_repeated_question; |
|---|
| 56 | GB_ERROR GEN_testAndRemoveTranslations(GBDATA *gb_gene_data, void (*warn)(AW_CL cd, const char *msg), AW_CL cd, AW_repeated_question *ok_to_ignore_wrong_start_codon); |
|---|
| 57 | |
|---|
| 58 | ItemSelector& GEN_get_selector(); |
|---|
| 59 | |
|---|
| 60 | #else |
|---|
| 61 | #error GEN.hxx included twice |
|---|
| 62 | #endif // GEN_HXX |
|---|