1 //////////////////////////////////////////////////
\r
3 // Declaration of the CTextApp class
\r
11 class CTextApp : public CWinApp
\r
15 virtual ~CTextApp() {}
\r
16 virtual BOOL InitInstance();
\r
17 CMainFrame& GetMainFrame() { return m_Frame; }
\r
24 // returns a reference to the CTextApp object
\r
25 inline CTextApp& GetTextApp() { return *((CTextApp*)GetApp()); }
\r
28 #endif // define TEXTAPP_H
\r