source: tags/arb-6.0/NTREE/NT_local.h

Last change on this file was 11216, checked in by westram, 10 years ago
  • removed last "usage" of AW_Window_Creator (in NT_global; was not used)
  • removed obsolete callback types (AW_Window_Creator, AW_PPP, AWC_CB)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 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 AW_BASE_HXX
15#include <aw_base.hxx>
16#endif
17#ifndef _GLIBCXX_CSTDLIB
18#include <cstdlib>
19#endif
20#ifndef ARBTOOLS_H
21#include <arbtools.h>
22#endif
23
24#define nt_assert(cond) arb_assert(cond)
25
26#define MAX_NT_WINDOWS          5
27#define MAX_NT_WINDOWS_NULLINIT NULL,NULL,NULL,NULL,NULL
28
29struct NT_global : virtual Noncopyable {
30    AW_root *aw_root;
31    GBDATA  *gb_main;
32
33    NT_global()
34        : aw_root(NULL),
35          gb_main(NULL)
36    {}
37};
38
39extern NT_global GLOBAL;
40
41#ifndef NT_LOCAL_PROTO_H
42#include "NT_local_proto.h"
43#endif
44
45#else
46#error NT_local.h included twice
47#endif // NT_LOCAL_H
Note: See TracBrowser for help on using the repository browser.