Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / FormDemo / src / FormApp.h
1 //////////////////////////////////////////////////\r
2 // FormApp.h\r
3 \r
4 #ifndef SDI_APP_H\r
5 #define SDI_APP_H\r
6 \r
7 \r
8 #include "Mainfrm.h"\r
9 \r
10 \r
11 // Declaration of the CFrameApp class\r
12 class CFormApp : public CWinApp\r
13 {\r
14 public:\r
15   CFormApp();\r
16   virtual ~CFormApp();\r
17   virtual BOOL InitInstance();\r
18   CMainFrame& GetMainFrame() { return m_Frame; }\r
19 \r
20 private:\r
21   CMainFrame m_Frame;\r
22 \r
23 };\r
24 \r
25 \r
26 // Handy global functions\r
27 inline CFormApp& GetSdiApp() { return *((CFormApp*)GetApp()); }\r
28 \r
29 \r
30 #endif // define SDI_APP_H\r
31 \r

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