source: tags/old_import_filter/NTREE/NT_local.h

Last change on this file was 10117, checked in by westram, 11 years ago
  • fix include-chaos in NTREE
    • all headers named
      • .h (some had .hxx)
      • as .cxx file
    • removed obsolete header (NT_dbrepair.hxx, nt_join.hxx)
  • removed some more definitions of nt_assert
  • 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
21
22#define nt_assert(cond) arb_assert(cond)
23
24#define MAX_NT_WINDOWS          5
25#define MAX_NT_WINDOWS_NULLINIT NULL,NULL,NULL,NULL,NULL
26
27struct NT_global {
28    AW_root           *aw_root;
29    GBDATA            *gb_main;
30    AW_Window_Creator  window_creator;
31
32    NT_global()
33        : aw_root(NULL),
34          gb_main(NULL),
35          window_creator(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.