Implemented ExternalExecutableEditView utilising
[emufront] / src / mainwindow.h
index 0c824c5..e2a102b 100644 (file)
@@ -1,23 +1,23 @@
-// 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 PlatformMainDialog;
-class MediaTypeMainDialog;
+class PlatformEditView;
+class MediaTypeEditView;
 // TODO: DEPRECATED
 class MediaTypeDialog;
-class MediaTypeMainDialog;
+class MediaTypeEditView;
+// TODO: DEPRECATED
 class MediaImagePathMainDialog;
+class FilePathEditView;
+// TODO: DEPRECATED
 class SetupMainDialog;
+class SetupEditView;
+// TODO: DEPRECATED
 class ExecutableMainDialog;
+class ExternalExecutableEditView;
 //class TmpFolderEditDialog;
 class QLabel;
 class DatabaseManager;
@@ -59,9 +65,15 @@ private slots:
     // TODO: DEPRECATED
     void configureMediaTypes();
     void configureMediaTypess();
+    // TODO: DEPRECATED
     void configureMediaImagePaths();
+    void configureMediaImagePathss();
+    // TODO: DEPRECATED
     void configureSetups();
+    void configureSetupss();
+    // TODO: DEPRECATED
     void configureEmulators();
+    void configureEmulatorss();
     void configureTmpDir();
     void resetDb();
     void updateData();
@@ -84,13 +96,19 @@ private:
 
     // TODO: deprecated
     PlatformDialog *platformDialog;
-    PlatformMainDialog *plfDialog;
+    PlatformEditView *plfDialog;
     // TODO: deprecated
     MediaTypeDialog *mediaTypeDialog;
-    MediaTypeMainDialog *mdtDialog;
+    MediaTypeEditView *mdtDialog;
+    // TODO: DEPRECATED
     MediaImagePathMainDialog *mediaImagePathDialog;
+    FilePathEditView *mediaImagePathView;
+    // TODO: deprecated
     SetupMainDialog *setupMainDialog;
+    SetupEditView *setupMainView;
+    // TODO: deprecated
     ExecutableMainDialog *executableMainDialog;
+    ExternalExecutableEditView *emulatorEditView;
     //TmpFolderEditDialog *tmpFolderDialog;
        QMenu *configMenu;
     QMenu *fileMenu;
@@ -101,9 +119,15 @@ private:
     // TODO: deprecated
     QAction *configMediaTypeAction;
     QAction *configMediaTypesAction;
+    // TODO: DEPRECATED
     QAction *configMediaImagePathAction;
+    QAction *configMediaImagePathsAction;
+    // TODO: deprecated
     QAction *configSetupAction;
+    QAction *configSetupsAction;
+    // TODO: deprecated
     QAction *configEmulatorAction;
+    QAction *configEmulatorsAction;
     QAction *exitAction;
     QAction *resetDbAction;
     QAction *aboutAction;