source: tags/ms_r16q3/NTREE/NT_local.h

Last change on this file was 15340, checked in by westram, 8 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
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 NULL,NULL,NULL,NULL,NULL
33
34struct NT_global : virtual Noncopyable {
35    AW_root *aw_root;
36    GBDATA  *gb_main;
37
38    NT_global()
39        : aw_root(NULL),
40          gb_main(NULL)
41    {}
42};
43
44extern NT_global GLOBAL;
45
46#else
47#error NT_local.h included twice
48#endif // NT_LOCAL_H
Note: See TracBrowser for help on using the repository browser.