]> Shamusworld >> Repos - architektonas/blob - src/base/mainwindowinterface.h
Bugfixes related to removing Snapper class.
[architektonas] / src / base / mainwindowinterface.h
1 #ifndef __MAINWINDOWINTERFACE_H__
2 #define __MAINWINDOWINTERFACE_H__
3
4 class GraphicView;
5 class Document;
6
7 /**
8  * Interface for main application windows.
9  */
10 class MainWindowInterface
11 {
12 public:
13     MainWindowInterface() {}
14     virtual ~MainWindowInterface() {}
15
16     virtual GraphicView * getGraphicView() = 0;
17     virtual Document * getDocument() = 0;
18
19         virtual void createNewDocument(const QString & fileName = QString::null, Document * doc = NULL) = 0;
20         virtual void showSimulationControls() = 0;
21 };
22
23 #endif