-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSrvrItem.h
executable file
·48 lines (37 loc) · 1.3 KB
/
SrvrItem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SrvrItem.h : interface of the CImageSSrvrItem class
//
#if !defined(AFX_SRVRITEM_H__A16BC4BE_EA0B_11D2_8C9E_C437F6C00000__INCLUDED_)
#define AFX_SRVRITEM_H__A16BC4BE_EA0B_11D2_8C9E_C437F6C00000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CImageSSrvrItem : public COleServerItem
{
DECLARE_DYNAMIC(CImageSSrvrItem)
// Constructors
public:
CImageSSrvrItem(CImageDocS* pContainerDoc);
// Attributes
CImageDocS* GetDocument() const
{ return (CImageDocS*)COleServerItem::GetDocument(); }
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImageSSrvrItem)
public:
virtual BOOL OnDraw(CDC* pDC, CSize& rSize);
virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize);
//}}AFX_VIRTUAL
// Implementation
public:
~CImageSSrvrItem();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
virtual void Serialize(CArchive& ar); // overridden for document i/o
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SRVRITEM_H__A16BC4BE_EA0B_11D2_8C9E_C437F6C00000__INCLUDED_)