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