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