**
** You should have received a copy of the GNU General Public License
** along with EmuFront. If not, see <http://www.gnu.org/licenses/>.
-*/#ifndef EMULAUNCHER_H
+*/
+
+#ifndef EMULAUNCHER_H
#define EMULAUNCHER_H
#include <QWidget>
class QTableView;
class QPushButton;
+class QComboBox;
class QErrorMessage;
-class DbMediaType;
-class DbPlatform;
-class DbMediaImageContainer;
-class DbExecutable;
-class EFFileObjectComboBox;
-class ExecutableComboBox;
+//class DbMediaImageContainer;
class Executable;
class MediaImageContainer;
class EmuHelper;
+class SetupModel;
+class ExternalExecutableModel;
+class MediaImageContainerModel;
class EmuLauncher : public QWidget
{
private:
QTableView *micTable;
- EFFileObjectComboBox *platformSelectBox;
- EFFileObjectComboBox *mediaTypeSelectBox;
- ExecutableComboBox *execSelectBox;
+ QComboBox *setupSelectBox;
+ QComboBox *execSelectBox;
QPushButton *selectButton;
QPushButton *launchButton;
- DbPlatform *dbPlatform;
- DbMediaType *dbMediaType;
- DbMediaImageContainer *dbMic;
- DbExecutable *dbExec;
+ //DbMediaImageContainer *dbMic;
EmuHelper *emuHelper;
void initWidgets();
void layout();
void connectSignals();
- void populatePlatformSelectBox();
- void populateMediaTypeSelectBox();
void launch(const Executable*, const MediaImageContainer*);
void cleanTmp();
QString tmpDirPath;
QErrorMessage *errorMessage;
+ SetupModel *supModel;
+ MediaImageContainerModel *micModel;
+ ExternalExecutableModel *emuModel;
};
#endif // EMULAUNCHER_H