-// EmuFront
-// Copyright 2010 Mikko Keinänen
-//
-// This file is part of EmuFront.
-//
-//
-// EmuFront is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 2 as published by
-// the Free Software Foundation and appearing in the file gpl.txt included in the
-// packaging of this file.
-//
-// EmuFront is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with EmuFront. If not, see <http://www.gnu.org/licenses/>.
-
-#ifndef MAINWINDOW_H
+/*
+** EmuFront
+** Copyright 2010 Mikko Keinänen
+**
+** This file is part of EmuFront.
+**
+**
+** EmuFront is free software: you can redistribute it and/or modify
+** it under the terms of the GNU General Public License version 2 as published by
+** the Free Software Foundation and appearing in the file gpl.txt included in the
+** packaging of this file.
+**
+** EmuFront is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with EmuFront. If not, see <http://www.gnu.org/licenses/>.
+*/#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
class QAction;
// TODO: DEPRECATED
-class PlatformDialog;
+//class PlatformDialog;
class PlatformEditView;
class MediaTypeEditView;
// TODO: DEPRECATED
-class MediaTypeDialog;
+//class MediaTypeDialog;
class MediaTypeEditView;
// TODO: DEPRECATED
-class MediaImagePathMainDialog;
+//class MediaImagePathMainDialog;
class FilePathEditView;
// TODO: DEPRECATED
-class SetupMainDialog;
+//class SetupMainDialog;
class SetupEditView;
-class ExecutableMainDialog;
+// TODO: DEPRECATED
+//class ExecutableMainDialog;
+class ExternalExecutableEditView;
//class TmpFolderEditDialog;
class QLabel;
class DatabaseManager;
class EmuLauncher;
class DatFileUtil;
class QErrorMessage;
+class SetupModel;
class MainWindow : public QMainWindow
{
private slots:
// TODO: DEPRECATED
- void configurePlatforms();
+ //void configurePlatforms();
void configurePlatformss();
// TODO: DEPRECATED
- void configureMediaTypes();
+ //void configureMediaTypes();
void configureMediaTypess();
// TODO: DEPRECATED
- void configureMediaImagePaths();
+ //void configureMediaImagePaths();
void configureMediaImagePathss();
// TODO: DEPRECATED
- void configureSetups();
+ //void configureSetups();
void configureSetupss();
- void configureEmulators();
+ // TODO: DEPRECATED
+ //void configureEmulators();
+ void configureEmulatorss();
void configureTmpDir();
void resetDb();
void updateData();
void createDB() const;
// TODO: deprecated
- PlatformDialog *platformDialog;
+ //PlatformDialog *platformDialog;
PlatformEditView *plfDialog;
// TODO: deprecated
- MediaTypeDialog *mediaTypeDialog;
+ //MediaTypeDialog *mediaTypeDialog;
MediaTypeEditView *mdtDialog;
// TODO: DEPRECATED
- MediaImagePathMainDialog *mediaImagePathDialog;
+ //MediaImagePathMainDialog *mediaImagePathDialog;
FilePathEditView *mediaImagePathView;
// TODO: deprecated
- SetupMainDialog *setupMainDialog;
+ //SetupMainDialog *setupMainDialog;
SetupEditView *setupMainView;
- ExecutableMainDialog *executableMainDialog;
+ // TODO: deprecated
+ //ExecutableMainDialog *executableMainDialog;
+ ExternalExecutableEditView *emulatorEditView;
//TmpFolderEditDialog *tmpFolderDialog;
QMenu *configMenu;
QMenu *fileMenu;
QMenu *helpMenu;
// TODO: deprecated
- QAction *configPlatformAction;
+ //QAction *configPlatformAction;
QAction *configPlatformsAction;
// TODO: deprecated
- QAction *configMediaTypeAction;
+ //QAction *configMediaTypeAction;
QAction *configMediaTypesAction;
// TODO: DEPRECATED
- QAction *configMediaImagePathAction;
+ //QAction *configMediaImagePathAction;
QAction *configMediaImagePathsAction;
// TODO: deprecated
- QAction *configSetupAction;
+ //QAction *configSetupAction;
QAction *configSetupsAction;
- QAction *configEmulatorAction;
+ // TODO: deprecated
+ //QAction *configEmulatorAction;
+ QAction *configEmulatorsAction;
QAction *exitAction;
QAction *resetDbAction;
QAction *aboutAction;
EmuLauncher *launcher;
QString tmpDirFilePath;
QErrorMessage *errorMessage;
+ SetupModel *supModel;
};
#endif