00001 /* 00002 * Copyright (C) 2006-2007 Tim Moore timoore@redhat.com 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License as 00006 * published by the Free Software Foundation; either version 2 of the 00007 * License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, but 00010 * WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00017 * MA 02110-1301, USA. 00018 * 00019 */ 00020 #ifndef SGREADERWRITERBTG_HXX 00021 #define SGREADERWRITERBTG_HXX 1 00022 #include <osgDB/Registry> 00023 00024 class SGReaderWriterBTG : public osgDB::ReaderWriter { 00025 public: 00026 SGReaderWriterBTG(); 00027 virtual ~SGReaderWriterBTG(); 00028 00029 virtual const char* className() const; 00030 00031 virtual bool acceptsExtension(const std::string& /*extension*/) const; 00032 virtual ReadResult readNode(const std::string& fileName, 00033 const osgDB::ReaderWriter::Options* options) 00034 const; 00035 }; 00036 00037 #endif 00038