acl/lib_acl_cpp/samples/HttpClient/HttpClientDlg.h

41 lines
860 B
C
Raw Normal View History

// HttpClientDlg.h : ͷ<>ļ<EFBFBD>
2014-11-19 00:25:21 +08:00
//
#pragma once
#include "acl_cpp/stream/aio_handle.hpp"
#include "acl_cpp/http/http_service.hpp"
// CHttpClientDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
2014-11-19 00:25:21 +08:00
class CHttpClientDlg : public CDialog
{
// <20><><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
public:
CHttpClientDlg(CWnd* pParent = NULL); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
2014-11-19 00:25:21 +08:00
~CHttpClientDlg();
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
enum { IDD = IDD_HTTPCLIENT_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
2014-11-19 00:25:21 +08:00
// ʵ<><CAB5>
2014-11-19 00:25:21 +08:00
protected:
HICON m_hIcon;
// <20><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>Ϣӳ<CFA2><EFBFBD><E4BAAF>
2014-11-19 00:25:21 +08:00
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedDownload();
afx_msg LRESULT OnDownloadOk(WPARAM wParam, LPARAM lParam);
private:
acl::aio_handle handle_;
acl::http_service* service_;
};