GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
glc_fileloader.h
Go to the documentation of this file.
1 /****************************************************************************
2 
3  This file is part of the GLC-lib library.
4  Copyright (C) 2011 Jrme Forrissier
5  Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
6  http://glc-lib.sourceforge.net
7 
8  GLC-lib is free software; you can redistribute it and/or modify
9  it under the terms of the GNU Lesser General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  GLC-lib is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License
19  along with GLC-lib; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 
22 *****************************************************************************/
23 
25 
26 #ifndef GLC_FILELOADER_H_
27 #define GLC_FILELOADER_H_
28 
29 #include <QString>
30 #include <QObject>
31 #include <QFile>
32 #include <QTextStream>
33 #include <QColor>
34 #include <QList>
35 
36 #include "../glc_config.h"
37 
38 class GLC_World;
39 class QGLContext;
40 
43 
48 
49 
50 class GLC_LIB_EXPORT GLC_FileLoader : public QObject
51 {
52  Q_OBJECT
54 
56 
57 
58 public:
60  virtual ~GLC_FileLoader();
62 
63 
65 
66 public:
68  GLC_World createWorldFromFile(QFile &file, QStringList* pAttachedFileName= NULL);
70 
71 
73 // Qt Signals
75  signals:
76  void currentQuantum(int);
77 
79 // Private members
81 private:
82 };
83 
84 #endif /*GLC_FILELOADER_H_*/

©2005-2013 Laurent Ribon