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