glc_fileloader.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 
00003  This file is part of the GLC-lib library.
00004  Copyright (C) 2011 Jrme Forrissier
00005  Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
00006  http://glc-lib.sourceforge.net
00007 
00008  GLC-lib is free software; you can redistribute it and/or modify
00009  it under the terms of the GNU Lesser General Public License as published by
00010  the Free Software Foundation; either version 3 of the License, or
00011  (at your option) any later version.
00012 
00013  GLC-lib is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  GNU Lesser General Public License for more details.
00017 
00018  You should have received a copy of the GNU Lesser General Public License
00019  along with GLC-lib; if not, write to the Free Software
00020  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021 
00022 *****************************************************************************/
00023 
00025 
00026 #ifndef GLC_FILELOADER_H_
00027 #define GLC_FILELOADER_H_
00028 
00029 #include <QString>
00030 #include <QObject>
00031 #include <QFile>
00032 #include <QTextStream>
00033 #include <QColor>
00034 #include <QList>
00035 
00036 #include "../glc_config.h"
00037 
00038 class GLC_World;
00039 class QGLContext;
00040 
00043 
00048 
00049 
00050 class GLC_LIB_EXPORT GLC_FileLoader : public QObject
00051 {
00052         Q_OBJECT
00054 
00056 
00057 
00058 public:
00059         GLC_FileLoader();
00060         virtual ~GLC_FileLoader();
00062 
00063 
00065 
00066 public:
00068         GLC_World createWorldFromFile(QFile &file, QStringList* pAttachedFileName= NULL);
00070 
00071 
00073 // Qt Signals
00075         signals:
00076         void currentQuantum(int);
00077 
00079 // Private members
00081 private:
00082 };
00083 
00084 #endif /*GLC_FILELOADER_H_*/

SourceForge.net Logo

©2005-2011 Laurent Ribon