source: tags/testbuild/SL/NDS/nds.h

Last change on this file was 11264, checked in by westram, 11 years ago
  • typed some more globally used callbacks
    • AW_create_gc_window
    • popup_select_species_field_window
    • AWT_create_nds_window
    • AWT_popup_select_srtaci_window
  • typed callbacks in
    • SL/NDS
    • SL/ITEMS (except one more complicated in MutableItemSelector)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1// =========================================================== //
2//                                                             //
3//   File      : awt_nds.hxx                                   //
4//   Purpose   :                                               //
5//                                                             //
6//   Institute of Microbiology (Technical University Munich)   //
7//   http://www.arb-home.de/                                   //
8//                                                             //
9// =========================================================== //
10
11#ifndef AWT_NDS_HXX
12#define AWT_NDS_HXX
13
14#ifndef ARBDB_BASE_H
15#include <arbdb_base.h>
16#endif
17#ifndef AW_BASE_HXX
18#include <aw_base.hxx>
19#endif
20
21struct GBT_TREE;
22
23#define AWAR_SELECT_ACISRT     "tmp/acisrt/select"
24#define AWAR_SELECT_ACISRT_PRE "tmp/acisrt/select_pre"
25
26enum NDS_Type {
27    NDS_OUTPUT_LEAFTEXT        = 0,   // compress info (no tabbing, separate single fields by comma, completely skip empty fields)
28    NDS_OUTPUT_SPACE_PADDED    = 1,   // format info (using spaces)
29    NDS_OUTPUT_TAB_SEPARATED   = 2,   // format info (using 1 tab per column - for easy import into star-calc, excel, etc. ).
30                                      // (also used by AWT_graphic_tree::show_nds_list for non-tree-display of species in ARB_NTREE)
31    NDS_OUTPUT_COMMA_SEPARATED = 3,   // like NDS_OUTPUT_TAB_SEPARATED, but using commas
32};
33
34void        make_node_text_init(GBDATA *gb_main);
35const char *make_node_text_nds(GBDATA *gb_main, GBDATA * gbd, NDS_Type format, GBT_TREE *species, const char *tree_name);
36
37char *NDS_mask_nonprintable_chars(char *inStr);
38
39AW_window *AWT_create_nds_window(AW_root *aw_root, GBDATA *gb_main);
40void       create_nds_vars(AW_root *aw_root, AW_default awdef, GBDATA *gb_main);
41void       AWT_popup_select_srtaci_window(AW_window *aww, const char *acisrt_awarname);
42
43#else
44#error awt_nds.hxx included twice
45#endif // AWT_NDS_HXX
Note: See TracBrowser for help on using the repository browser.