home *** CD-ROM | disk | FTP | other *** search
- // sayhevw.h : interface of the CSayhelloView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CSayhelloView : public CView
- {
- protected: // create from serialization only
- CSayhelloView();
- DECLARE_DYNCREATE(CSayhelloView)
-
- // Attributes
- public:
- CSayhelloDoc* GetDocument();
-
- //////////////////////
- // MY CODE STARTS HERE
- //////////////////////
-
- int m_HelloSession;
- int m_ItsBeenSession;
-
- ////////////////////
- // MY CODE ENDS HERE
- ////////////////////
-
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CSayhelloView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSayhelloView)
- afx_msg void OnFileSayhello();
- afx_msg void OnFileSayhaveaniceday();
- afx_msg void OnFileSaygoodbye();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in sayhevw.cpp
- inline CSayhelloDoc* CSayhelloView::GetDocument()
- { return (CSayhelloDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-