📄 ftpproc.h
字号:
#if !defined(AFX_FTPPROC_H__CABD9977_7515_4187_82DD_768E4D703950__INCLUDED_)
#define AFX_FTPPROC_H__CABD9977_7515_4187_82DD_768E4D703950__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FtpProc.h : header file
//
#ifndef REC_SYSDEF
#include "sysdef.h" // MY SYSDEF.H
#endif
/////////////////////////////////////////////////////////////////////////////
// CFtpProc thread
class CFtpProc : public CWinThread
{
DECLARE_DYNCREATE(CFtpProc)
protected:
CFtpProc(); // protected constructor used by dynamic creation
// Attributes
public:
CInternetSession* m_pInetSession; //会话对象
CFtpConnection* m_pFtpConnection; //连接对象
CFtpFileFind* m_pRemoteFinder; //远程查找文件对象
long local_front;
long local_rear;
long tl;
HWND mainwnd;
// Operations
public:
BOOL ftp_ok;
BOOL ConnectFtp();
LRESULT OnFtpFile(WPARAM wParam,LPARAM lParam);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFtpProc)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CFtpProc();
void CFtpProc::OnTimer();
// Generated message map functions
//{{AFX_MSG(CFtpProc)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FTPPROC_H__CABD9977_7515_4187_82DD_768E4D703950__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -