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

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