Support building NLMISC as dll

feature/nel-dll
kaetemi 6 years ago
parent 799d5ec891
commit 27d3b068d6

@ -151,7 +151,7 @@ public:
* \author Nevrax France
* \date 2000
*/
class CAABBoxExt : private CAABBox
class NLMISC_API CAABBoxExt : private CAABBox
{
protected:
float RadiusMin, RadiusMax;

@ -104,7 +104,7 @@ namespace NLMISC
* \author Boris 'SoniX' Boucher
* \date 2005
*/
class CApplicationContext : public INelContext
class NLMISC_API CApplicationContext : public INelContext
{
public:
CApplicationContext();
@ -160,7 +160,7 @@ namespace NLMISC
* \author Boris 'SoniX' Boucher
* \date 2005
*/
class CLibraryContext : public INelContext
class NLMISC_API CLibraryContext : public INelContext
{
public:
CLibraryContext (INelContext &applicationContext);

@ -227,7 +227,7 @@ struct TCommandHandlerClassInfo
* \author Nevrax France
* \date 2005
*/
class ICommandsHandler
class NLMISC_API ICommandsHandler
{
/// Store the class name after handler registration
const std::string *_ClassName;
@ -556,7 +556,7 @@ struct TCommandHandler : public TCommandHandlerInfo
* \author Nevrax France
* \date 2005
*/
class CCommandRegistry
class NLMISC_API CCommandRegistry
{
// this class is a safe singleton (dll friendly)
NLMISC_SAFE_SINGLETON_DECL(CCommandRegistry);

@ -120,7 +120,7 @@ public:
* \author Nevrax France
* \date 2000
*/
struct CVar
struct NLMISC_API CVar
{
public:

@ -77,7 +77,7 @@ private:
* \author Nevrax France
* \date 2000
*/
class CEventListenerAsync: public IEventListener
class NLMISC_API CEventListenerAsync : public IEventListener
{
public:

@ -356,7 +356,7 @@ public:
// Friend.
/// Plane (line vector) multiplication.
friend CPlane operator*(const CPlane &p, const CMatrix &m);
NLMISC_API friend CPlane operator*(const CPlane &p, const CMatrix &m);
private:

@ -72,7 +72,7 @@ protected:
* \author Nevrax France
* \date 2002
*/
class CLightMemDisplayer : public CMemDisplayer
class NLMISC_API CLightMemDisplayer : public CMemDisplayer
{
public:
/// Constructor

@ -22,14 +22,9 @@
#include "stream.h"
#include "rgba.h"
namespace NLMISC
{
// ***************************************************************************
/**
* A class which generate noisy value, according to a position
@ -77,7 +72,7 @@ private:
* \author Nevrax France
* \date 2001
*/
class CNoiseColorGradient
class NLMISC_API CNoiseColorGradient
{
public:
/// Abs and Rand should be 0 and 1 here. If not, some colors may not be generated...
@ -96,10 +91,8 @@ public:
};
} // NL3D
#endif // NL_NOISE_VALUE_H
/* End of noise_value.h */

@ -116,7 +116,7 @@ public:
/**
* A 2d convex polygon
*/
class CPolygon2D
class NLMISC_API CPolygon2D
{
public:
typedef std::vector<CVector2f> TVec2fVect;
@ -223,8 +223,8 @@ private:
};
// comparison of 2D polygon
bool operator == (const CPolygon2D &lhs, const CPolygon2D &rhs);
bool operator < (const CPolygon2D &lhs, const CPolygon2D &rhs);
NLMISC_API bool operator==(const CPolygon2D &lhs, const CPolygon2D &rhs);
NLMISC_API bool operator<(const CPolygon2D &lhs, const CPolygon2D &rhs);
} // NLMISC

@ -488,7 +488,7 @@ void CQuatT<T>::makeClosest(const CQuatT<T> &o)
class CQuat : public CQuatT<float>
{
public:
static const CQuat Identity;
NLMISC_API static const CQuat Identity;
/// \name Object
// @{
@ -515,7 +515,7 @@ public:
class CQuatD : public CQuatT<double>
{
public:
static const CQuatD Identity;
NLMISC_API static const CQuatD Identity;
/// \name Object
// @{

@ -386,7 +386,7 @@ public:
* \author Nevrax France
* \date 2000
*/
class CBGRA
class NLMISC_API CBGRA
{
public:
@ -495,7 +495,7 @@ inline CRGBA blend(CRGBA c0, CRGBA c1, U blendFactor)
* \author Nevrax France
* \date 2000
*/
class CRGBAF
class NLMISC_API CRGBAF
{
public:
/// Default constructor. do nothing

@ -74,9 +74,9 @@ struct EStream : public Exception
EStream( const std::string& str ) : Exception( str ) {}
EStream( const IStream &f );
NLMISC_API EStream(const IStream &f);
EStream( const IStream &f, const std::string& str );
NLMISC_API EStream(const IStream &f, const std::string &str);
virtual ~EStream() throw() {}

@ -84,7 +84,7 @@ enum TThreadPriority
* \author Nevrax France
* \date 2000
*/
class IThread
class NLMISC_API IThread
{
public:

Loading…
Cancel
Save