00001 /* 00002 * QGLViewerIO.h 00003 * $Id: 00004 * 00005 * Copyright (C) 2001 Alexander Buck, Thomas Woerner, Markus Janich 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 * 00021 */ 00022 00023 // Description : Class QGLViewerIO 00024 // Purpose : Provides methods to read and write different things 00025 00026 #ifndef __QGLVIEWERIO_H 00027 #define __QGLVIEWERIO_H 00028 00029 00030 // Forward declarations 00032 class QFile; 00033 template <class T> class CList; 00034 class CCameraKeyPathPoint; 00035 class CCamera; 00036 00037 00038 00049 class QGLViewerIO { 00050 public: 00051 00053 // MEMBER FUNCTIONS // 00055 00057 static bool read(QFile &, CList<CCameraKeyPathPoint> &); 00058 00060 static bool write(QFile &, CList<CCameraKeyPathPoint> &); 00061 00064 static bool read(QFile &, CList<CCamera> &); 00065 00068 static bool write(QFile &, CList<CCamera> &); 00069 }; 00070 00071 #endif // __QGLVIEWERIO_H