Last change
on this file was
7624,
checked in by westram, 13 years ago
|
- merge from dev [7473] [7474] [7475] [7476] [7477] [7478] [7479]
- NTREE
- rewrote main (CLI parsing, handling different ways to startup)
- some refactorings
- show com-error-reason on startyp ("THIS PROGRAM HAS PROBLEMS TO OPEN INTERCLIENT COMMUNICATION…")
- activated arb functions attributes
- added awt_execute_macro (execute a macro by name)
- added new CLI switch —execute (runs a macro after startup)
- DRYed load_and_startup_main_window vs start_main_window_after_import
- ARBDB
- gb_local_data keeps track of opened/closed DBs
- added GB_shell4perl (automatically closes all open databases on exit; macros working again)
- removed dead code (macro related)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.5 KB
|
Line | |
---|
1 | // =========================================================== // |
---|
2 | // // |
---|
3 | // File : ntree.hxx // |
---|
4 | // Purpose : global ARB_NTREE interface // |
---|
5 | // // |
---|
6 | // Institute of Microbiology (Technical University Munich) // |
---|
7 | // http://www.arb-home.de/ // |
---|
8 | // // |
---|
9 | // =========================================================== // |
---|
10 | |
---|
11 | #ifndef NTREE_HXX |
---|
12 | #define NTREE_HXX |
---|
13 | |
---|
14 | #ifndef AW_WINDOW_HXX |
---|
15 | #include <aw_window.hxx> |
---|
16 | #endif |
---|
17 | |
---|
18 | #define NT_AW_TRUE 1 |
---|
19 | #define NT_AW_FALSE 0 |
---|
20 | |
---|
21 | class AWT_graphic_tree; |
---|
22 | |
---|
23 | struct NT_global { |
---|
24 | AW_root *awr; |
---|
25 | AWT_graphic_tree *tree; |
---|
26 | AW_Window_Creator window_creator; |
---|
27 | bool extern_quit_button; |
---|
28 | }; |
---|
29 | |
---|
30 | extern NT_global GLOBAL_NT; |
---|
31 | extern GBDATA *GLOBAL_gb_main; |
---|
32 | |
---|
33 | |
---|
34 | class NT_install_window_creator { |
---|
35 | int dummy; |
---|
36 | public: |
---|
37 | NT_install_window_creator(AW_Window_Creator wc) { |
---|
38 | GLOBAL_NT.window_creator = wc; |
---|
39 | }; |
---|
40 | }; |
---|
41 | |
---|
42 | #define AWAR_EXPORT_NDS "tmp/export_nds" |
---|
43 | #define AWAR_EXPORT_NDS_SEPARATOR "tmp/export_nds/separator" |
---|
44 | #define AWAR_NT_REMOTE_BASE "tmp/remote/ARB_NT" |
---|
45 | #define AWAR_IMPORT_PROBE_GROUP_RESULT "tmp/pg_result" |
---|
46 | #define AWAR_MARKED_SPECIES_COUNTER "tmp/disp_marked_species" |
---|
47 | #define AWAR_NTREE_TITLE_MODE "tmp/title_mode" |
---|
48 | |
---|
49 | #else |
---|
50 | #error ntree.hxx included twice |
---|
51 | #endif // NTREE_HXX |
---|
Note: See
TracBrowser
for help on using the repository browser.