Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / CustomControl / src / CustomControlApp.h
1 ///////////////////////////////////////\r
2 // CustomControlApp.h\r
3 \r
4 #ifndef CUSTOMCONTROLAPP_H\r
5 #define CUSTOMCONTROLAPP_H\r
6 \r
7 #include "MyDialog.h"\r
8 #include "MyWebControl.h"\r
9 \r
10 \r
11 // Declaration of the CDialogApp class\r
12 class CCustomControlApp : public CWinApp\r
13 {\r
14 public:\r
15         CCustomControlApp();\r
16         virtual ~CCustomControlApp();\r
17         CMyDialog& GetDialog() {return m_MyDialog;}\r
18         virtual BOOL InitInstance();\r
19 \r
20 private:\r
21         CMyDialog m_MyDialog;\r
22 };\r
23 \r
24 \r
25 // returns a reference to the CCustomControlApp object\r
26 inline CCustomControlApp& GetDlgApp() { return *((CCustomControlApp*)GetApp()); }\r
27 \r
28 \r
29 #endif // define CUSTOMCONTROLAPP_H\r
30 \r

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