使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 479b1995ef435713c2cf4f0da8de3a6af6c30922
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#if !defined(AFX_FILECLIENTASYNMGR_H__94838D13_71C8_4435_813F_3A9C37A3DB3B__INCLUDED_)
#define AFX_FILECLIENTASYNMGR_H__94838D13_71C8_4435_813F_3A9C37A3DB3B__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileClientAsynMgr.h : header file
//
 
#include "FileClientMgrBase.h"
 
/////////////////////////////////////////////////////////////////////////////
// CFileClientAsynMgr window
 
class AFX_EXT_CLASS CFileClientAsynMgr : public CFileClientMgrBase
{
// Construction
public:
    CFileClientAsynMgr();
    virtual ~CFileClientAsynMgr();
 
// Attributes
public:
 
protected:
 
// Operations
public:
    // ÍâÃæÃüÁî
    int            UploadFile( CString strFileName, CString strPathName = _T( "" ), DWORD dwOption = 0, CString strFileMD5 = _T( "" ) );
    int            DownloadFile( CString strFileID, CString strSavePathName, CString strFileName, DWORD dwOption = 0 );
    int            CopyFile( CString strFileID, CString strPathName = _T( "" ), DWORD dwOption = 0 );
    int            DeleteFile( CString strFileID );
    int            GetFileInfo( CString strFileID );
 
protected:
    void        OnResponseUploadFile( COISysMsg *pSMsg );
    void        OnResponseDownloadFile( COISysMsg *pSMsg );
    void        OnResponseCopyFile( COISysMsg *pSMsg );
    void        OnResponseDeleteFile( COISysMsg *pSMsg );
    void        OnResponseGetFileInfo( COISysMsg *pSMsg );
 
// Overrides
public:
    virtual bool    Init( CString &strError, BOOL bInitSocket = true );
 
    // ÃüÁî·´À¡
    virtual void    OnConnectError( long nErrCode );
    virtual void    OnResponseError( long nErrCode, long nTrID, CString strParam );
    virtual void    OnResponseReceive( COISysMsg *pSMsg );
 
};
 
/////////////////////////////////////////////////////////////////////////////
 
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
#endif // !defined(AFX_FILECLIENTASYNMGR_H__94838D13_71C8_4435_813F_3A9C37A3DB3B__INCLUDED_)