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();
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(CServerView)
30 virtual void OnDraw(CDC
* pDC
); // overridden to draw this view
31 virtual BOOL
PreCreateWindow(CREATESTRUCT
& cs
);
33 virtual BOOL
OnPreparePrinting(CPrintInfo
* pInfo
);
34 virtual void OnBeginPrinting(CDC
* pDC
, CPrintInfo
* pInfo
);
35 virtual void OnEndPrinting(CDC
* pDC
, CPrintInfo
* pInfo
);
40 virtual ~CServerView();
42 virtual void AssertValid() const;
43 virtual void Dump(CDumpContext
& dc
) const;
48 // Generated message map functions
50 //{{AFX_MSG(CServerView)
51 // NOTE - the ClassWizard will add and remove member functions here.
52 // DO NOT EDIT what you see in these blocks of generated code !
57 #ifndef _DEBUG // debug version in serverView.cpp
58 inline CServerDoc
* CServerView::GetDocument()
59 { return (CServerDoc
*)m_pDocument
; }
62 /////////////////////////////////////////////////////////////////////////////
64 //{{AFX_INSERT_LOCATION}}
65 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
67 #endif // !defined(AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_)