home *** CD-ROM | disk | FTP | other *** search
- // diffView.h : interface of the CDiffView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CDiffView : public CRichEditView
- {
- protected: // create from serialization only
- CDiffView();
- DECLARE_DYNCREATE(CDiffView)
-
- // Attributes
- public:
- CDiffDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDiffView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CDiffView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDiffView)
- afx_msg void OnDropFiles(HDROP hDropInfo);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in diffView.cpp
- inline CDiffDoc* CDiffView::GetDocument()
- { return (CDiffDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-