source: branches/help/GENOM/GEN.hxx

Last change on this file was 16508, checked in by westram, 7 years ago
  • reintegrates 'macros' into 'trunk'
    • introduce generic input prompt (related #179)
    • use it instead of locally generated windows:
      • species (rename + create)
      • alignment (rename, copy + create)
      • experiments (rename, copy + create)
      • genes (rename, copy + extract)
      • mergetool (rename SAI + configs)
      • SAIviz color translation (copy + create)
    • fixed bugs in mergetool ([16503],[16504])
  • adds: log:branches/macros@16484:16507
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
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
35void GEN_create_awars(AW_root *aw_root, AW_default aw_def, GBDATA *gb_main);
36
37// --------------------------------------------------------------------------------
38// windows/menus:
39
40void GEN_popup_gene_infowindow(AW_root *aw_root, GBDATA *gb_main);
41AW_window *GEN_create_gene_query_window(AW_root *aw_root, GBDATA *gb_main);
42AW_window *GEN_create_first_map(AW_root *aw_root, GBDATA *gb_main);
43
44class AW_window_menu_modes;
45void GEN_create_genes_submenu(AW_window_menu_modes *awm, GBDATA *gb_main, bool for_ARB_NTREE);
46
47// --------------------------------------------------------------------------------
48// genes:
49
50GBDATA* GEN_get_current_organism(GBDATA *gb_main); // uses AWAR_ORGANISM_NAME
51
52// --------------------------------------------------------------------------------
53// toolkit:
54
55class AW_repeated_question;
56GB_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
58ItemSelector& GEN_get_selector();
59
60#else
61#error GEN.hxx included twice
62#endif // GEN_HXX
Note: See TracBrowser for help on using the repository browser.