I think we've all been saying supportsExtension when we meant to say axxeptsExtension (which is public). I know I always get them confused.

Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466



Thrall, Bryan wrote:
Robert Osfield wrote on 2009-12-15:
FYI, if you really want to try forcing a plugin to handle extensions
it was never designed to handle you could try loading the plugin and
then calling supportsExtension on it.

Just to be pedantic, supportsExtension() is protected, so you'd need to:

1) create a subclass of the plugin's ReaderWriter (which would pull in the 
plugin DLL, registering the plugin with the Registry) that calls 
supportsExtension()
2) Remove the plugin's ReaderWriter from the Registry
3) Register your subclass with the Registry

I'd guess that's about as much work as writing a pseudoloader :)
--
Bryan Thrall
FlightSafety International
[email protected]

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to