home *** CD-ROM | disk | FTP | other *** search
- #if !defined(FTPVIEW_H__7335DC6B_2B1D_11D0_9F76_00AA00680BB3__INCLUDED_)
- #define FTPVIEW_H__7335DC6B_2B1D_11D0_9F76_00AA00680BB3__INCLUDED_
-
- // ftpView.h : interface of the CFtpView class
- //
- /////////////////////////////////////////////////////////////////////////////
- class CFtpDoc;
-
- class CFtpView : public CScrollView
- {
- protected: // create from serialization only
- CFtpView();
- void OnInitialUpdate();
- DECLARE_DYNCREATE(CFtpView)
-
- // Attributes
- public:
- CFtpDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFtpView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- void AddToView(LPCTSTR string);
- CStringArray m_strings;
- virtual ~CFtpView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CFtpView)
- afx_msg void OnFileFtpTransfer();
- afx_msg void OnViewClear();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in ftpView.cpp
- inline CFtpDoc* CFtpView::GetDocument()
- { return (CFtpDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(FTPVIEW_H__7335DC6B_2B1D_11D0_9F76_00AA00680BB3__INCLUDED)
-