source: trunk/SL/GUI_ALIVIEW/awt_filter.hxx

Last change on this file was 14118, checked in by westram, 9 years ago
  • added awt_create_filter_awars
    • made all awars 'tmp' (saving them did not work)
  • 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_filter.hxx                                //
4//   Purpose   :                                               //
5//                                                             //
6//   Institute of Microbiology (Technical University Munich)   //
7//   http://www.arb-home.de/                                   //
8//                                                             //
9// =========================================================== //
10
11#ifndef AWT_FILTER_HXX
12#define AWT_FILTER_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
21class AW_selection_list;
22class AP_filter;
23
24struct adfiltercbstruct {
25    AW_window *aw_filt;
26    AW_root   *awr;
27    GBDATA    *gb_main;
28
29    AW_selection_list *filterlist;
30
31    char *def_name;
32    char *def_2name;
33    char *def_2filter;
34    char *def_2alignment;
35    char *def_subname;
36    char *def_alignment;
37    char *def_simplify;
38    char *def_source;
39    char *def_dest;
40    char *def_cancel;
41    char *def_filter;
42    char *def_min;
43    char *def_max;
44    char *def_len;
45    char  may_be_an_error;
46
47};
48
49void awt_create_filter_awars(AW_root *aw_root, AW_default aw_def, const char *awar_filtername, const char *awar_mapto_alignment);
50adfiltercbstruct *awt_create_select_filter(AW_root *aw_root, GBDATA *gb_main, const char *def_name);
51void awt_set_awar_to_valid_filter_good_for_tree_methods(GBDATA *gb_main, AW_root *awr, const char *awar_name);
52
53AW_window *awt_create_select_filter_win(AW_root *aw_root, adfiltercbstruct *acbs);
54
55AP_filter *awt_get_filter(adfiltercbstruct *acbs);
56void       awt_destroy_filter(AP_filter *filter);
57
58GB_ERROR awt_invalid_filter(AP_filter *filter);
59
60char *AWT_get_combined_filter_name(AW_root *aw_root, GB_CSTR prefix);
61
62#else
63#error awt_filter.hxx included twice
64#endif // AWT_FILTER_HXX
Note: See TracBrowser for help on using the repository browser.