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