Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / mfc / serverView.h
blob25c5a1714bedea218e0ffcc0df679c0a147674f0
1 // serverView.h : interface of the CServerView class
2 //
3 /////////////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_)
6 #define AFX_SERVERVIEW_H__7B1C2A4E_7230_11D3_B94A_0010A4052E2A__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
13 class CServerView : public CView
15 protected: // create from serialization only
16 CServerView();
17 DECLARE_DYNCREATE(CServerView)
19 // Attributes
20 public:
21 CServerDoc* GetDocument();
23 // Operations
24 public:
26 // Overrides
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(CServerView)
29 public:
30 virtual void OnDraw(CDC* pDC); // overridden to draw this view
31 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
32 protected:
33 virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
34 virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
35 virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
36 //}}AFX_VIRTUAL
38 // Implementation
39 public:
40 virtual ~CServerView();
41 #ifdef _DEBUG
42 virtual void AssertValid() const;
43 virtual void Dump(CDumpContext& dc) const;
44 #endif
46 protected:
48 // Generated message map functions
49 protected:
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 !
53 //}}AFX_MSG
54 DECLARE_MESSAGE_MAP()
57 #ifndef _DEBUG // debug version in serverView.cpp
58 inline CServerDoc* CServerView::GetDocument()
59 { return (CServerDoc*)m_pDocument; }
60 #endif
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_)