source: branches/stable/SL/NDS/nds.h

Last change on this file was 17110, checked in by westram, 6 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 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
21#define AWAR_SELECT_ACISRT     "tmp/acisrt/select"
22#define AWAR_SELECT_ACISRT_PRE "tmp/acisrt/select_pre"
23
24enum NDS_Type {
25    NDS_OUTPUT_LEAFTEXT        = 0,   // compress info (no tabbing, separate single fields by comma, completely skip empty fields)
26    NDS_OUTPUT_SPACE_PADDED    = 1,   // format info (using spaces)
27    NDS_OUTPUT_TAB_SEPARATED   = 2,   // format info (using 1 tab per column - for easy import into star-calc, excel, etc. ).
28                                      // (also used by AWT_graphic_tree::show_nds_list for non-tree-display of species in ARB_NTREE)
29    NDS_OUTPUT_COMMA_SEPARATED = 3,   // like NDS_OUTPUT_TAB_SEPARATED, but using commas
30};
31
32void        make_node_text_init(GBDATA *gb_main);
33const char *make_node_text_nds (GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name);
34const char *make_group_text_nds(GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name);
35
36char *NDS_mask_nonprintable_chars(char *inStr);
37
38AW_window *AWT_create_nds_window(AW_root *aw_root, GBDATA *gb_main);
39void       create_nds_vars(AW_root *aw_root, AW_default awdef, GBDATA *gb_main, bool force_reinit);
40void       AWT_popup_select_srtaci_window(AW_window *aww, const char *acisrt_awarname);
41
42#else
43#error awt_nds.hxx included twice
44#endif // AWT_NDS_HXX
Note: See TracBrowser for help on using the repository browser.