1 // serverView.h : interface of the CServerView class
3 /////////////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_)
6 #define AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_
10 #endif // _MSC_VER > 1000
13 class CServerView
: public CView
15 protected: // create from serialization only
17 DECLARE_DYNCREATE(CServerView
)
21 CServerDoc
* GetDocument();
26 // ClassWizard generated virtual function overrides
27 //{{AFX_VIRTUAL(CServerView)
29 virtual void OnDraw(CDC
* pDC
); // overridden to draw this view
30 virtual BOOL
PreCreateWindow(CREATESTRUCT
& cs
);
32 virtual BOOL
OnPreparePrinting(CPrintInfo
* pInfo
);
33 virtual void OnBeginPrinting(CDC
* pDC
, CPrintInfo
* pInfo
);
34 virtual void OnEndPrinting(CDC
* pDC
, CPrintInfo
* pInfo
);
39 virtual ~CServerView();
41 virtual void AssertValid() const;
42 virtual void Dump(CDumpContext
& dc
) const;
46 // Generated message map functions
48 //{{AFX_MSG(CServerView)
49 // NOTE - the ClassWizard will add and remove member functions here.
50 // DO NOT EDIT what you see in these blocks of generated code !
55 #ifndef _DEBUG // debug version in serverView.cpp
56 inline CServerDoc
* CServerView::GetDocument()
57 { return (CServerDoc
*)m_pDocument
; }
60 /////////////////////////////////////////////////////////////////////////////
62 //{{AFX_INSERT_LOCATION}}
63 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
65 #endif // !defined(AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_)