home *** CD-ROM | disk | FTP | other *** search
- // $$VAL:BaseViewHeader$$ : interface of the $$VAL:BaseViewClass$$ class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #ifndef $$VAL:BaseViewWrapper$$
- #define $$VAL:BaseViewWrapper$$
-
- $$IF:DocClassHeader$$
- #include "$$VAL:DocClassHeader$$"
- $$ENDIF$$
-
- class $$VAL:BaseViewClass$$ : public CView
- {
- protected: // create from serialization only
- $$VAL:BaseViewClass$$();
- DECLARE_DYNCREATE($$VAL:BaseViewClass$$)
-
- // Attributes
- public:
- $$VAL:DocClass$$* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL($$VAL:BaseViewClass$$)
- 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:
- virtual ~$$VAL:BaseViewClass$$();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG($$VAL:BaseViewClass$$)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in $$VAL:BaseViewCpp$$
- inline $$VAL:DocClass$$* $$VAL:BaseViewClass$$::GetDocument()
- { return ($$VAL:DocClass$$*)m_pDocument; }
- #endif
-
- #endif // $$VAL:BaseViewWrapper$$
- /////////////////////////////////////////////////////////////////////////////
-