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 
31 #define MAX_NT_WINDOWS 5
32 #define MAX_NT_WINDOWS_NULLINIT NULp,NULp,NULp,NULp,NULp
33 
34 struct NT_global : virtual Noncopyable {
37 
39  aw_root(NULp),
40  gb_main(NULp)
41  {}
42 };
43 
44 extern NT_global GLOBAL;
45 
46 #else
47 #error NT_local.h included twice
48 #endif // NT_LOCAL_H
NT_global()
Definition: NT_local.h:38
AW_root * aw_root
Definition: NT_local.h:35
#define NULp
Definition: cxxforward.h:97
GBDATA * gb_main
Definition: NT_local.h:36
NT_global GLOBAL
Definition: NT_main.cxx:44