www.pudn.com > Sector1.rar > Sector1View.h


// Sector1View.h : interface of the CSector1View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SECTOR1VIEW_H__204F47EE_8F5E_4900_9669_B1BA0C528E73__INCLUDED_) 
#define AFX_SECTOR1VIEW_H__204F47EE_8F5E_4900_9669_B1BA0C528E73__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CSector1View : public CView 
{ 
protected: // create from serialization only 
	CSector1View(); 
	DECLARE_DYNCREATE(CSector1View) 
 
// Attributes 
public: 
	CSector1Doc* GetDocument(); 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSector1View) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	PBYTE buf; 
	WORD m_Tsector; 
	DWORD m_StartSector; 
	BYTE m_Drive; 
	virtual ~CSector1View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CSector1View) 
	afx_msg void OnRead(); 
	afx_msg void OnRecovery(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in Sector1View.cpp 
inline CSector1Doc* CSector1View::GetDocument() 
   { return (CSector1Doc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SECTOR1VIEW_H__204F47EE_8F5E_4900_9669_B1BA0C528E73__INCLUDED_)