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

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