CFx SDK Documentation  2023 SP0
AECAppStaticModules.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef __AECAPPSTATICMODULES_H__
25 #define __AECAPPSTATICMODULES_H__
26 
27 /* static link Teigha Architecture
28  AecGeometry.lib AecArchBase.lib AECArchDACHBase.lib AECAreaCalculationBase.lib AECBase.lib AECSchedule.lib AECScheduleData.lib AECStructureBase.lib AECUIArchBase.lib AECUIBase.lib AECUISchedule.lib AECUIStructureBase.lib
29  AecGeometry.lib;AecArchBase.lib;AECArchDACHBase.lib;AECAreaCalculationBase.lib;AECBase.lib;AECSchedule.lib;AECScheduleData.lib;AECStructureBase.lib;AECUIArchBase.lib;AECUIBase.lib;AECUISchedule.lib;AECUIStructureBase.lib
30 */
31 
32 
33 
34 // Declares Architecture modules for static linking in host application sources to support Architecture objects and commands
35 // before static module map definition ( ODRX_BEGIN_STATIC_MODULE_MAP() ... ODRX_END_STATIC_MODULE_MAP() )
36 #define ODRX_DECLARE_ARCH_STATIC_MODULES_ENTRY_POINTS() \
37  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(OdRecomputeDimBlockModule);\
38  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase);\
39  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase40);\
40  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase50);\
41  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase60);\
42  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase70);\
43  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase80);\
44  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase);\
45  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase40);\
46  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase50);\
47  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase60);\
48  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase70);\
49  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase80);\
50  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase);\
51  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase40);\
52  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase50);\
53  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase60);\
54  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase70);\
55  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase80);\
56  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase);\
57  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase40);\
58  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase50);\
59  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase60);\
60  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase70);\
61  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase80);\
62  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule);\
63  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule40);\
64  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule50);\
65  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule60);\
66  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule70);\
67  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule80);\
68  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData);\
69  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData40);\
70  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData50);\
71  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData60);\
72  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData70);\
73  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData80);\
74  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase);\
75  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase40);\
76  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase50);\
77  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase60);\
78  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase70);\
79  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase80);\
80 // last line of the macros
81 
82 
83 
84 #define ODRX_DECLARE_ARCH_UI_STATIC_MODULES_ENTRY_POINTS() \
85  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIBase);\
86  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIArchBase);\
87  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUISchedule);\
88  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIStructureBase);\
89 // last line of the macros
90 
91 
92 
93 #if defined(_WIN32)
94 #define ODRX_DECLARE_RENDERING_STATIC_MODULES_ENTRY_POINTS() \
95  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinOpenGLModule);\
96  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinGDIModule);\
97  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinDirectXModule);\
98  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ExRasterModule);\
99  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(BitmapModule);\
100  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ModelerModule);\
101  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(OdOleItemHandlerModuleImpl);
102 #else
103 #define ODRX_DECLARE_RENDERING_STATIC_MODULES_ENTRY_POINTS() \
104  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ExRasterModule);\
105  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(BitmapModule);\
106  ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ModelerModule);
107 #endif
108 
109 
110 
111 // Defines Architecture modules for static linking in host application sources to support Architecture objects and commands
112 // in static module map definition ( ODRX_BEGIN_STATIC_MODULE_MAP() ... ODRX_END_STATIC_MODULE_MAP() )
113 #define ODRX_DEFINE_ARCH_STATIC_APPMODULES() \
114  ODRX_DEFINE_STATIC_APPMODULE(OdRecomputeDimBlockModuleName, OdRecomputeDimBlockModule)\
115  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase", AECArchBase)\
116  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase40", AECArchBase40)\
117  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase50", AECArchBase50)\
118  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase60", AECArchBase60)\
119  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase70", AECArchBase70)\
120  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase", AECArchDACHBase)\
121  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase40", AECArchDACHBase40)\
122  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase50", AECArchDACHBase50)\
123  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase60", AECArchDACHBase60)\
124  ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase70", AECArchDACHBase70)\
125  ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase", AECAreaCalculationBase)\
126  ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase40", AECAreaCalculationBase40)\
127  ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase50", AECAreaCalculationBase50)\
128  ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase60", AECAreaCalculationBase60)\
129  ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase70", AECAreaCalculationBase70)\
130  ODRX_DEFINE_STATIC_APPLICATION(L"AecBase", AECBase)\
131  ODRX_DEFINE_STATIC_APPLICATION(L"AecBase40", AECBase40)\
132  ODRX_DEFINE_STATIC_APPLICATION(L"AecBase50", AECBase50)\
133  ODRX_DEFINE_STATIC_APPLICATION(L"AecBase60", AECBase60)\
134  ODRX_DEFINE_STATIC_APPLICATION(L"AecBase70", AECBase70)\
135  ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule", AECSchedule)\
136  ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule40", AECSchedule40)\
137  ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule50", AECSchedule50)\
138  ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule60", AECSchedule60)\
139  ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule70", AECSchedule70)\
140  ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData", AECScheduleData)\
141  ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData40", AECScheduleData40)\
142  ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData50", AECScheduleData50)\
143  ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData60", AECScheduleData60)\
144  ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData70", AECScheduleData70)\
145  ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase", AECStructureBase)\
146  ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase40", AECStructureBase40)\
147  ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase50", AECStructureBase50)\
148  ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase60", AECStructureBase60)\
149  ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase70", AECStructureBase70)\
150 // last line of the macros
151 
152 
153 
154 #define ODRX_DEFINE_ARCH_UI_STATIC_APPMODULES() \
155  ODRX_DEFINE_STATIC_APPLICATION(L"AecUIBase", AECUIBase)\
156  ODRX_DEFINE_STATIC_APPLICATION(L"AecUIArchBase", AECUIArchBase)\
157  ODRX_DEFINE_STATIC_APPLICATION(L"AecUISchedule", AECUISchedule)\
158  ODRX_DEFINE_STATIC_APPLICATION(L"AecUIStructureBase", AECUIStructureBase)\
159 // last line of the macros
160 
161 
162 
163 #if defined(_WIN32)
164 
165 #if defined(ODOLEITEMHANDLER_ENABLED)
166 #define ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE ODRX_DEFINE_STATIC_APPMODULE(OdOleItemHandlerModuleName, OdOleItemHandlerModuleImpl)
167 #else
168 #define ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE
169 #endif
170 
171 #if !defined(WINDIRECTX_DISABLED)
172 #define ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE ODRX_DEFINE_STATIC_APPMODULE (OdWinDirectXModuleName, WinDirectXModule)
173 #else
174 #define ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE
175 #endif
176 
177 #define ODRX_DEFINE_RENDERING_STATIC_APPMODULES() \
178  ODRX_DEFINE_STATIC_APPMODULE (OdWinOpenGLModuleName, WinOpenGLModule)\
179  ODRX_DEFINE_STATIC_APPMODULE (OdWinGDIModuleName, WinGDIModule)\
180  ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE \
181  ODRX_DEFINE_STATIC_APPLICATION (RX_RASTER_SERVICES_APPNAME, ExRasterModule)\
182  ODRX_DEFINE_STATIC_APPMODULE (OdWinBitmapModuleName, BitmapModule)\
183  ODRX_DEFINE_STATIC_APPMODULE (OdModelerGeometryModuleName, ModelerModule)\
184  ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE
185 #else
186 
187 #define ODRX_DEFINE_RENDERING_STATIC_APPMODULES() \
188  ODRX_DEFINE_STATIC_APPLICATION (RX_RASTER_SERVICES_APPNAME, ExRasterModule)\
189  ODRX_DEFINE_STATIC_APPMODULE (OdWinBitmapModuleName, BitmapModule)\
190  ODRX_DEFINE_STATIC_APPMODULE (OdModelerGeometryModuleName, ModelerModule)
191 #endif
192 
193 
194 
195 #endif //__AECAPPSTATICMODULES_H__