Back to index

fet  5.18.0
fet.h
Go to the documentation of this file.
00001 /*
00002 File fet.h
00003 */
00004   
00005 /*
00006 Copyright 2002, 2003 Lalescu Liviu.
00007 
00008 This file is part of FET.
00009 
00010 FET is free software; you can redistribute it and/or modify
00011 it under the terms of the GNU General Public License as published by
00012 the Free Software Foundation; either version 2 of the License, or
00013 (at your option) any later version.
00014 
00015 FET is distributed in the hope that it will be useful,
00016 but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018 GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with timetable; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 */
00024 
00025 #ifndef FET_H
00026 #define FET_H
00027 
00028 #include "timetable_defs.h"
00029 #include "timetable.h"
00030 
00031 #include "matrix.h"
00032 
00033 #include <fstream>
00034 using namespace std;
00035 
00036 #include <QTextStream>
00037 
00038 #include <QApplication>
00039 
00040 class QWidget;
00041 
00042 class FetTranslate: public QObject{
00043        Q_OBJECT
00044 };
00045 
00049 extern Timetable gt;
00050 
00054 extern ofstream logg;
00055 
00059 extern QString INPUT_FILENAME_XML;
00060 
00064 //extern qint16 teachers_timetable_weekly[MAX_TEACHERS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];
00065 extern Matrix3D<qint16> teachers_timetable_weekly;
00066 
00070 //extern qint16 students_timetable_weekly[MAX_TOTAL_SUBGROUPS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];
00071 extern Matrix3D<qint16> students_timetable_weekly;
00072 
00076 //extern qint16 rooms_timetable_weekly[MAX_ROOMS][MAX_DAYS_PER_WEEK][MAX_HOURS_PER_DAY];
00077 extern Matrix3D<qint16> rooms_timetable_weekly;
00078 
00079 void readSimulationParameters();
00080 void writeSimulationParameters();
00081 //void writeDefaultSimulationParameters();
00082 
00083 void usage(QTextStream& out);
00084 
00085 void setLanguage(QApplication& qapplication, QWidget* parent);
00086 
00090 int main(int argc, char **argv);
00091 
00092 #endif