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

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