]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_mainwindowinterface.h
In the middle of chasing down MDI not activating bug, renaming of Graphic to
[architektonas] / src / widgets / qg_mainwindowinterface.h
index 953392320edea44a965a2b4d178010f6108d39e3..a036d14646e77839841c03b322dbe7652f99e968 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef QG_MAINWINDOWINTERFACE_H
 #define QG_MAINWINDOWINTERFACE_H
 
-#include "mainwindowinterface.h"
+#warning "!!! THIS IS CANDIDATE FOR REMOVAL !!!"
 
 class QMainWindow;
 class ActionHandler;
@@ -9,15 +9,17 @@ class ActionHandler;
 /**
  * Interface for main application windows.
  */
-class QG_MainWindowInterface: public MainWindowInterface
+class QG_MainWindowInterface
 {
        public:
                QG_MainWindowInterface() {}
                virtual ~QG_MainWindowInterface() {}
 
-               virtual QMainWindow * GetMainWindow() = 0;
-               virtual ActionHandler * getActionHandler() = 0;
                virtual void setFocus2() = 0;
+               virtual GraphicView * getGraphicView() = 0;
+               virtual Document * getDocument() = 0;
+               virtual void createNewDocument(const QString & fileName = QString::null, Document * doc = NULL) = 0;
+               virtual void showSimulationControls() = 0;
 };
 
 #endif // QG_MAINWINDOWINTERFACE_H