DownloadFileView.h
资源名称:FTP总集.rar [点击查看]
上传用户:tjfeida
上传日期:2013-03-10
资源大小:1917k
文件大小:3k
源码类别:
Ftp客户端
开发平台:
Visual C++
- #if !defined(AFX_DOWNLOADFILEVIEW_H__E26B0951_7D13_4F43_9A8F_4DA8E0FC0FB2__INCLUDED_)
- #define AFX_DOWNLOADFILEVIEW_H__E26B0951_7D13_4F43_9A8F_4DA8E0FC0FB2__INCLUDED_
- /*********************************************
- **该文件是属于WolfFTP工程中的。如果有什么问题
- **请联系
- ** tablejiang@21cn.com
- **或者访问
- ** http://wolfftp.51.net
- **以得到最新的支持。
- *********************************************/
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DownloadFileView.h : header file
- //
- #include "share.h"
- #include "JobListCtrl.h"
- #include "QuickFtpDoc.h"
- #include "FtpObject.h"
- #include "FileQueue.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDownloadFileView view
- class CDownloadFileView : public CView
- {
- protected:
- CDownloadFileView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CDownloadFileView)
- // Attributes
- public:
- CQuickFTPDoc* GetDocument();
- // Operations
- public:
- BOOL RefreshList( );
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDownloadFileView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CDownloadFileView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDownloadFileView)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnQueueRun();
- afx_msg void OnQueueStop();
- afx_msg void OnSelectAll();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected:
- BOOL InitList( );
- protected:
- FTPFILEINFO* m_pFileQueueHead ;
- CFileQueue* m_pFileQueue ;
- public:
- BOOL SetSelectItemStatus( int iState );
- BOOL DeleteSelectItem( );
- BOOL SetFileQueue( CFileQueue* pQueue );
- CJobListCtrl m_ListCtrl ;
- CFtpObject* m_pFtp ;
- };
- //#ifndef _DEBUG // debug version in QuickFTPView.cpp
- //inline CQuickFTPDoc* CQuickFTPView::GetDocument()
- // { return (CQuickFTPDoc*)m_pDocument; }
- //#endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DOWNLOADFILEVIEW_H__E26B0951_7D13_4F43_9A8F_4DA8E0FC0FB2__INCLUDED_)