Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / MDIFrame / src / MDIFrameApp.h
1 //////////////////////////////////////\r
2 // MDIFrameApp.h\r
3 \r
4 #ifndef MDIFRAMEAPP_H\r
5 #define MDIFRAMEAPP_H\r
6 \r
7 #include "MainMDIFrm.h"\r
8 \r
9 \r
10 class CMDIFrameApp : public CWinApp\r
11 {\r
12 public:\r
13     CMDIFrameApp();\r
14     virtual ~CMDIFrameApp() {}\r
15         virtual BOOL InitInstance();\r
16         CMainMDIFrame& GetMDIFrame() { return m_MainMDIFrame; }\r
17 \r
18 private:\r
19     CMainMDIFrame m_MainMDIFrame;\r
20 \r
21 };\r
22 \r
23 \r
24 // returns a reference to the CMDIFrameApp object\r
25 inline CMDIFrameApp& GetMDIApp() { return *((CMDIFrameApp*)GetApp()); }\r
26 \r
27 \r
28 #endif // MDIFRAMEAPP_H\r

UCC git Repository :: git.ucc.asn.au