Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods

to help enable better querying of supported features
This commit is contained in:
Robert Osfield
2008-07-13 22:18:59 +00:00
parent cb98cddc31
commit 02b456bcfa
54 changed files with 421 additions and 323 deletions

View File

@@ -2202,6 +2202,13 @@ void geoField::readfile(std::ifstream &fin, const uint id) { // is part of a rec
class ReaderWriterGEO : public osgDB::ReaderWriter
{
public:
ReaderWriterGEO()
{
supportsExtension("gem","CarbonGraphics Geo model format");
supportsExtension("geo","CarbonGraphics Geo model format");
}
virtual const char* className() const { return "GEO Reader/Writer"; }
virtual bool acceptsExtension(const std::string& extension) const