Added use of REGISTER_OGRPLUGIN to enable static linking of plugins

This commit is contained in:
Robert Osfield
2009-06-24 17:37:59 +00:00
parent 0c987ee112
commit 02defea1b0
4 changed files with 4 additions and 5 deletions

View File

@@ -804,4 +804,4 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter
// now register with Registry to instantiate the above
// reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterGDAL> g_readerWriter_GDAL_Proxy;
REGISTER_OSGPLUGIN(gdal, ReaderWriterGDAL)

View File

@@ -1248,8 +1248,7 @@ public:
// now register with Registry to instantiate the above
// reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterImageIO> g_readerWriter_ImageIO_Proxy;
REGISTER_OSGPLUGIN(imagio, ReaderWriterImageIO)

View File

@@ -446,4 +446,4 @@ public:
// now register with Registry to instantiate the above
// reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterOGR> g_readerWriter_OGR_Proxy;
REGISTER_OSGPLUGIN(ogr, ReaderWriterOGR)

View File

@@ -372,5 +372,5 @@ class ReaderWriterVNC : public osgDB::ReaderWriter
// now register with Registry to instantiate the above
// reader/writer.
osgDB::RegisterReaderWriterProxy<ReaderWriterVNC> g_readerWriter_VNC_Proxy;
REGISTER_OSGPLUGIN(vnc, ReaderWriterVNC)