Panda3D
directsymbols.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file directsymbols.h
10  * @author drose
11  * @date 2000-02-18
12  */
13 
14 #ifndef DIRECTSYMBOLS_H
15 #define DIRECTSYMBOLS_H
16 
17 /* See dtoolsymbols.h for a rant on the purpose of this file. */
18 
19 /* BUILDING_DIRECT is just a buildsystem shortcut for all of these: */
20 #ifdef BUILDING_DIRECT
21  #define BUILDING_DIRECT_DCPARSER
22  #define BUILDING_DIRECT_DEADREC
23  #define BUILDING_DIRECT_DIRECTD
24  #define BUILDING_DIRECT_INTERVAL
25  #define BUILDING_DIRECT_MOTIONTRAIL
26  #define BUILDING_DIRECT_SHOWBASE
27  #define BUILDING_DIRECT_DISTRIBUTED
28 #endif
29 
30 #ifdef BUILDING_DIRECT_DCPARSER
31  #define EXPCL_DIRECT_DCPARSER EXPORT_CLASS
32  #define EXPTP_DIRECT_DCPARSER EXPORT_TEMPL
33 #else
34  #define EXPCL_DIRECT_DCPARSER IMPORT_CLASS
35  #define EXPTP_DIRECT_DCPARSER IMPORT_TEMPL
36 #endif
37 
38 #ifdef BUILDING_DIRECT_DEADREC
39  #define EXPCL_DIRECT_DEADREC EXPORT_CLASS
40  #define EXPTP_DIRECT_DEADREC EXPORT_TEMPL
41 #else
42  #define EXPCL_DIRECT_DEADREC IMPORT_CLASS
43  #define EXPTP_DIRECT_DEADREC IMPORT_TEMPL
44 #endif
45 
46 #ifdef BUILDING_DIRECT_DIRECTD
47  #define EXPCL_DIRECT_DIRECTD EXPORT_CLASS
48  #define EXPTP_DIRECT_DIRECTD EXPORT_TEMPL
49 #else
50  #define EXPCL_DIRECT_DIRECTD IMPORT_CLASS
51  #define EXPTP_DIRECT_DIRECTD IMPORT_TEMPL
52 #endif
53 
54 #ifdef BUILDING_DIRECT_INTERVAL
55  #define EXPCL_DIRECT_INTERVAL EXPORT_CLASS
56  #define EXPTP_DIRECT_INTERVAL EXPORT_TEMPL
57 #else
58  #define EXPCL_DIRECT_INTERVAL IMPORT_CLASS
59  #define EXPTP_DIRECT_INTERVAL IMPORT_TEMPL
60 #endif
61 
62 #ifdef BUILDING_DIRECT_MOTIONTRAIL
63  #define EXPCL_DIRECT_MOTIONTRAIL EXPORT_CLASS
64  #define EXPTP_DIRECT_MOTIONTRAIL EXPORT_TEMPL
65 #else
66  #define EXPCL_DIRECT_MOTIONTRAIL IMPORT_CLASS
67  #define EXPTP_DIRECT_MOTIONTRAIL IMPORT_TEMPL
68 #endif
69 
70 #ifdef BUILDING_DIRECT_SHOWBASE
71  #define EXPCL_DIRECT_SHOWBASE EXPORT_CLASS
72  #define EXPTP_DIRECT_SHOWBASE EXPORT_TEMPL
73 #else
74  #define EXPCL_DIRECT_SHOWBASE IMPORT_CLASS
75  #define EXPTP_DIRECT_SHOWBASE IMPORT_TEMPL
76 #endif
77 
78 #ifdef BUILDING_DIRECT_DISTRIBUTED
79  #define EXPCL_DIRECT_DISTRIBUTED EXPORT_CLASS
80  #define EXPTP_DIRECT_DISTRIBUTED EXPORT_TEMPL
81 #else
82  #define EXPCL_DIRECT_DISTRIBUTED IMPORT_CLASS
83  #define EXPTP_DIRECT_DISTRIBUTED IMPORT_TEMPL
84 #endif
85 
86 #endif