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

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