From Wang Rui, added exports for windows build

This commit is contained in:
Robert Osfield 2010-01-21 09:25:45 +00:00
parent 219696f1ee
commit f1bd2eaf04
4 changed files with 9 additions and 9 deletions

View File

@ -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 T>
class TemplateRegisterDotOsgWrapperProxy : public RegisterDotOsgWrapperProxy, public T
class OSGDB_EXPORT TemplateRegisterDotOsgWrapperProxy : public RegisterDotOsgWrapperProxy, public T
{
public:

View File

@ -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<osg::Array> > ArrayMap;

View File

@ -21,9 +21,9 @@ namespace osgDB
{
typedef std::vector<std::string> 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<BaseSerializer> > SerializerList;

View File

@ -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<const osg::Array*, unsigned int> ArrayMap;