From: <sv...@ww...> - 2006-05-23 05:28:17
|
Author: mkrose Date: 2006-05-22 22:28:10 -0700 (Mon, 22 May 2006) New Revision: 1947 Modified: trunk/csp/cspsim/theater/ElevationCorrection.h trunk/csp/cspsim/theater/LayoutTransform.h Log: Add windows export declarations to theater classes used by the layout tool. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1947 Modified: trunk/csp/cspsim/theater/ElevationCorrection.h =================================================================== --- trunk/csp/cspsim/theater/ElevationCorrection.h 2006-05-21 19:15:00 UTC (rev 1946) +++ trunk/csp/cspsim/theater/ElevationCorrection.h 2006-05-23 05:28:10 UTC (rev 1947) @@ -25,6 +25,7 @@ #ifndef __CSPSIM_THEATER_ELEVATIONCORRECTION_H__ #define __CSPSIM_THEATER_ELEVATIONCORRECTION_H__ +#include <csp/cspsim/Export.h> #include <csp/cspsim/theater/LayoutTransform.h> #include <osg/Vec3> @@ -38,7 +39,7 @@ * A helper class for correcting the elevation of static objects to match * the local terrain. */ -class ElevationCorrection: public LayoutTransform { +class CSPSIM_EXPORT ElevationCorrection: public LayoutTransform { TerrainObject *m_Terrain; ElevationCorrection() {} public: Modified: trunk/csp/cspsim/theater/LayoutTransform.h =================================================================== --- trunk/csp/cspsim/theater/LayoutTransform.h 2006-05-21 19:15:00 UTC (rev 1946) +++ trunk/csp/cspsim/theater/LayoutTransform.h 2006-05-23 05:28:10 UTC (rev 1947) @@ -26,6 +26,7 @@ #ifndef __CSPSIM_THEATER_LAYOUTTRANSFORM_H__ #define __CSPSIM_THEATER_LAYOUTTRANSFORM_H__ +#include <csp/cspsim/Export.h> #include <csp/csplib/util/Namespace.h> #include <osg/Vec3> @@ -38,7 +39,7 @@ * * A helper class for accumulationg and applying 2D displacements and rotations. */ -class LayoutTransform { +class CSPSIM_EXPORT LayoutTransform { float m_X, m_Y, m_Angle; float c, s; public: |