ARB
NT_local.h
Go to the documentation of this file.
1 // ============================================================ //
2 // //
3 // File : NT_local.h //
4 // Purpose : NTREE local defines //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // ============================================================ //
10 
11 #ifndef NT_LOCAL_H
12 #define NT_LOCAL_H
13 
14 #ifndef NT_LOCAL_PROTO_H
15 #include "NT_local_proto.h"
16 #endif
17 #ifndef ARBTOOLS_H
18 #include <arbtools.h>
19 #endif
20 #ifndef ARB_ASSERT_H
21 #include <arb_assert.h>
22 #endif
23 #ifndef _GLIBCXX_CSTDLIB
24 #include <cstdlib>
25 #endif
26 
27 #define nt_assert(cond) arb_assert(cond)
28 
29 #define AWAR_NTREE_MAIN_WINDOW_COUNT "tmp/mainwin_count" // changes whenever a new NT main window is created
30 #define AWAR_TOPAREA_SAIS "sai/topedit" // SAIs edited in top-area by default
31 
32 #define MAX_NT_WINDOWS 5
33 #define MAX_NT_WINDOWS_NULLINIT NULp,NULp,NULp,NULp,NULp
34 
35 struct NT_global : virtual Noncopyable {
38 
40  aw_root(NULp),
41  gb_main(NULp)
42  {}
43 };
44 
45 extern NT_global GLOBAL;
46 
47 #else
48 #error NT_local.h included twice
49 #endif // NT_LOCAL_H
NT_global()
Definition: NT_local.h:39
AW_root * aw_root
Definition: NT_local.h:36
#define NULp
Definition: cxxforward.h:116
GBDATA * gb_main
Definition: NT_local.h:37
NT_global GLOBAL
Definition: NT_main.cxx:46