ARGH
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Notepad / src / TextApp.h
1 //////////////////////////////////////////////////\r
2 // TextApp.h\r
3 //  Declaration of the CTextApp class\r
4 \r
5 #ifndef TEXTAPP_H\r
6 #define TEXTAPP_H\r
7 \r
8 #include "Mainfrm.h"\r
9 \r
10 \r
11 class CTextApp : public CWinApp\r
12 {\r
13 public:\r
14         CTextApp(); \r
15         virtual ~CTextApp()  {}\r
16         virtual BOOL InitInstance();\r
17         CMainFrame& GetMainFrame() { return m_Frame; }\r
18 \r
19 private:\r
20         CMainFrame m_Frame;\r
21 };\r
22 \r
23 \r
24 // returns a reference to the CTextApp object\r
25 inline CTextApp& GetTextApp() { return *((CTextApp*)GetApp()); }\r
26 \r
27 \r
28 #endif // define TEXTAPP_H\r
29 \r

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