defuze.me
Client
|
00001 /************************************************************************** 00002 ** defuze.me Epitech Innovative Project 00003 ** 00004 ** Copyright 2010 00005 ** Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard 00006 ** Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier 00007 ** 00008 ** All rights reserved. 00009 **************************************************************************/ 00010 00011 #ifndef STARTER_HPP 00012 #define STARTER_HPP 00013 00014 #include <QStringList> 00015 #include <QSplashScreen> 00016 #include "cores.hpp" 00017 #include "plugins.hpp" 00018 #include "exception.hpp" 00019 00036 class Starter : public QObject 00037 { 00038 Q_OBJECT 00039 public: 00040 Starter(); 00041 ~Starter(); 00042 Cores* loadCores(); 00043 Plugins* loadPlugins(); 00044 00045 private slots: 00046 void message(const QString& msg) const; 00047 00048 private: 00049 void initializationError(Exception &e); 00050 00051 Cores *cores; 00052 Plugins *plugins; 00053 QStringList arguments; 00054 QSplashScreen *splashScreen; 00055 }; 00056 00057 #endif // STARTER_HPP