source: tags/arb_5.2/GENOM/GEN.hxx

Last change on this file was 6005, checked in by westram, 15 years ago
  • added checks performed with all items (species, genes, experiments, …)
  • silently remove duplicated 'ARB_color' entries
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
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
14class 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
26void GEN_create_awars(AW_root *aw_root, AW_default aw_def);
27
28// --------------------------------------------------------------------------------
29// windows/menus:
30
31AW_window *GEN_create_gene_window(AW_root *aw_root);
32void       GEN_popup_gene_window(AW_window *aww, AW_CL, AW_CL); // preferred over GEN_create_gene_window
33AW_window *GEN_create_gene_query_window(AW_root *aw_root);
34AW_window *GEN_map_first(AW_root *aw_root);
35
36void       GEN_create_genes_submenu(AW_window_menu_modes *awm, bool for_ARB_NTREE);
37
38// --------------------------------------------------------------------------------
39// genes:
40
41GBDATA* GEN_get_current_organism(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME
42GBDATA* GEN_get_current_gene_data(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME
43GBDATA* GEN_get_current_gene(GBDATA *gb_main, AW_root *aw_root); // searches the current gene (using AWAR_ORGANISM_NAME and AWAR_GENE_NAME)
44
45// --------------------------------------------------------------------------------
46// toolkit:
47
48void GEN_select_gene(GBDATA* gb_main, AW_root *aw_root, const char *item_name);
49
50class AW_repeated_question;
51GB_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);
52
53struct ad_item_selector;
54ad_item_selector *GEN_get_selector(); // return GEN_item_selector
55
56#endif // GEN_HXX
Note: See TracBrowser for help on using the repository browser.