Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Explorer / src / ExplorerApp.h
1 //////////////////////////////////////////////////\r
2 // ExplorerApp.h\r
3 //  Declaration of the CExplorerApp class\r
4 \r
5 #ifndef EXPLORERAPP_H\r
6 #define EXPLORERAPP_H\r
7 \r
8 \r
9 #include "Mainfrm.h"\r
10 \r
11 \r
12 class CExplorerApp : public CWinApp\r
13 {\r
14 public:\r
15         CExplorerApp();\r
16         virtual ~CExplorerApp();\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 // returns a reference to the CExplorerApp object\r
25 inline CExplorerApp& GetExplorerApp() { return *((CExplorerApp*)GetApp()); }\r
26 \r
27 \r
28 #endif  //EXPLORERAPP_H\r
29 \r

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