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

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