使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 4905e2e7537d507f218e8e9595485e09d9f3a2b4
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
// QLResponse.h: interface for the CQLResponse class.
//
//////////////////////////////////////////////////////////////////////
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
 
#include "QLCommand.h"
 
enum QLRESSTATUS
{
    QLRES_RESPONSE=0, QLRES_HEADER, QLRES_BODY, QLRES_SIMPLE, QLRES_DONE
};
 
class AFX_EXT_CLASS CQLResponse : public CQLCommand  
{
public:
    CQLResponse();
    virtual ~CQLResponse();
 
    void ProcessLine(CString& str);
    void GetBody(LPVOID *pBody, int &nSize);
    BOOL BodySent();
    BOOL AddToBody( CByteArray *pBuf, long &ndx);
 
    long m_nRecvSize;
    QLRESSTATUS m_RESSTATUS;
private:
};