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

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