|
Last change
on this file was
18463,
checked in by westram, 5 years ago
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.4 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 | #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 { |
|---|
| 36 | AW_root *aw_root; |
|---|
| 37 | GBDATA *gb_main; |
|---|
| 38 | |
|---|
| 39 | NT_global() : |
|---|
| 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 |
|---|
Note: See
TracBrowser
for help on using the repository browser.