source: tags/cvs_2_svn/GENOM/GEN.hxx

Last change on this file was 3861, checked in by westram, 19 years ago
  • removed GEN_is_genome_db (went to ARBDB)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 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
41#define ARB_HIDDEN "ARB_display_hidden"
42
43GBDATA* GEN_get_current_organism(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME
44GBDATA* GEN_get_current_gene_data(GBDATA *gb_main, AW_root *aw_root); // uses AWAR_ORGANISM_NAME
45GBDATA* 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
53void GEN_select_gene(GBDATA* gb_main, AW_root *aw_root, const char *item_name);
54
55#endif // GEN_HXX
Note: See TracBrowser for help on using the repository browser.