home *** CD-ROM | disk | FTP | other *** search
- // $$srvritem_hfile$$.h : interface of the $$SRVRITEM_CLASS$$ class
- //
-
- class $$SRVRITEM_CLASS$$ : public $$SRVRITEM_BASE_CLASS$$
- {
- DECLARE_DYNAMIC($$SRVRITEM_CLASS$$)
-
- // Constructors
- public:
- $$SRVRITEM_CLASS$$($$DOC_CLASS$$* pContainerDoc);
-
- // Attributes
- $$DOC_CLASS$$* GetDocument() const
- { return ($$DOC_CLASS$$*)$$SRVRITEM_BASE_CLASS$$::GetDocument(); }
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL($$SRVRITEM_CLASS$$)
- public:
- virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
- virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- ~$$SRVRITEM_CLASS$$();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
- virtual void Serialize(CArchive& ar); // overridden for document i/o
- };
-
- /////////////////////////////////////////////////////////////////////////////
-