srvritem.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:1k
- // [!output SERVER_ITEM_HEADER] : interface of the [!output SERVER_ITEM_CLASS] class
- //
- #pragma once
- class [!output SERVER_ITEM_CLASS] : public [!output SERVER_ITEM_BASE_CLASS]
- {
- DECLARE_DYNAMIC([!output SERVER_ITEM_CLASS])
- // Constructors
- public:
- [!output SERVER_ITEM_CLASS]([!output DOC_CLASS]* pContainerDoc);
- // Attributes
- [!output DOC_CLASS]* GetDocument() const
- { return reinterpret_cast<[!output DOC_CLASS]*>([!output SERVER_ITEM_BASE_CLASS]::GetDocument()); }
- // Overrides
- public:
- virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
- virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
- // Implementation
- public:
- ~[!output SERVER_ITEM_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
- };