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

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