1 //////////////////////////////////////////////////
\r
3 // Declaration of the CThreadApp class
\r
10 class CThreadApp : public CWinApp
\r
14 virtual ~CThreadApp();
\r
15 virtual BOOL InitInstance();
\r
16 CMainWindow& GetMainWnd() {return m_MainWnd;}
\r
19 CMainWindow m_MainWnd;
\r
23 // returns a reference to the CThreadApp object
\r
24 inline CThreadApp& GetThreadApp() { return *((CThreadApp*)GetApp()); }
\r
27 #endif //THREADAPP_H
\r