diff --git a/include/osgDB/DotOsgWrapper b/include/osgDB/DotOsgWrapper index c6bb52215..cdfbb882e 100644 --- a/include/osgDB/DotOsgWrapper +++ b/include/osgDB/DotOsgWrapper @@ -80,7 +80,7 @@ class OSGDB_EXPORT DotOsgWrapper : public osg::Referenced }; /** Proxy class for automatic registration of DotOsgWrappers with the Registry.*/ -class RegisterDotOsgWrapperProxy +class OSGDB_EXPORT RegisterDotOsgWrapperProxy { public: @@ -98,7 +98,7 @@ class RegisterDotOsgWrapperProxy }; template -class TemplateRegisterDotOsgWrapperProxy : public RegisterDotOsgWrapperProxy, public T +class OSGDB_EXPORT TemplateRegisterDotOsgWrapperProxy : public RegisterDotOsgWrapperProxy, public T { public: diff --git a/include/osgDB/InputStream b/include/osgDB/InputStream index 5564863a3..9ed6497bc 100644 --- a/include/osgDB/InputStream +++ b/include/osgDB/InputStream @@ -39,13 +39,13 @@ public: const std::string& getField() const { return _field; } const std::string& getError() const { return _error; } - + protected: std::string _field; std::string _error; }; -class InputStream +class OSGDB_EXPORT InputStream { public: typedef std::map< unsigned int, osg::ref_ptr > ArrayMap; diff --git a/include/osgDB/ObjectWrapper b/include/osgDB/ObjectWrapper index ca56f837c..7a59f0dd5 100644 --- a/include/osgDB/ObjectWrapper +++ b/include/osgDB/ObjectWrapper @@ -21,9 +21,9 @@ namespace osgDB { typedef std::vector StringList; -extern void split( const std::string& src, StringList& list, char separator=' ' ); +extern OSGDB_EXPORT void split( const std::string& src, StringList& list, char separator=' ' ); -class BaseCompressor : public osg::Referenced +class OSGDB_EXPORT BaseCompressor : public osg::Referenced { public: BaseCompressor() {} @@ -37,7 +37,7 @@ protected: std::string _name; }; -class ObjectWrapper : public osg::Referenced +class OSGDB_EXPORT ObjectWrapper : public osg::Referenced { public: typedef std::vector< osg::ref_ptr > SerializerList; diff --git a/include/osgDB/OutputStream b/include/osgDB/OutputStream index cca75aa8a..3c46fef57 100644 --- a/include/osgDB/OutputStream +++ b/include/osgDB/OutputStream @@ -38,13 +38,13 @@ public: const std::string& getField() const { return _field; } const std::string& getError() const { return _error; } - + protected: std::string _field; std::string _error; }; -class OutputStream +class OSGDB_EXPORT OutputStream { public: typedef std::map ArrayMap;