www.pudn.com > ntshell.rar > consoleview.h


// consoleView.h : interface of the CConsoleView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CONSOLEVIEW_H__F557428B_5438_47C4_A85B_6A055703F76B__INCLUDED_) 
#define AFX_CONSOLEVIEW_H__F557428B_5438_47C4_A85B_6A055703F76B__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
class CConsole; 
class CCmdShell; 
class CFileMgr; 
class CPortProxy; 
class CScreenView; 
class CProcMgr; 
 
class CConsoleView : public CWindowImpl 
{ 
public: 
	DECLARE_WND_SUPERCLASS(NULL, CTabCtrl::GetWndClassName()) 
 
	CConsoleView(); 
	virtual ~CConsoleView(); 
	BOOL PreTranslateMessage(MSG* pMsg); 
	void InitView(LPVOID lpParam); 
	HWND GetSubWnd(int nSubWnd); 
 
	BEGIN_MSG_MAP(CConsoleView) 
		MESSAGE_HANDLER(WM_SIZE, OnSize) 
		MESSAGE_HANDLER(OCM_NOTIFY, OnNotify) 
		DEFAULT_REFLECTION_HANDLER() 
	END_MSG_MAP() 
 
// Handler prototypes (uncomment arguments if needed): 
//	LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) 
//	LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) 
//	LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) 
 
	LRESULT OnSize(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); 
	LRESULT OnNotify(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); 
 
private: 
	CConsole *m_console; 
	CCmdShell *m_shell; 
	CFileMgr *m_file; 
	CPortProxy *m_proxy; 
	CScreenView *m_screen; 
	CProcMgr *m_process; 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONSOLEVIEW_H__F557428B_5438_47C4_A85B_6A055703F76B__INCLUDED_)