HotpimUploadDlg.h
上传用户:chi1060
上传日期:2014-09-13
资源大小:115k
文件大小:2k
源码类别:

TCP/IP协议栈

开发平台:

Visual C++

  1. // HotpimUploadDlg.h : header file
  2. //
  3. #include "afxwin.h"
  4. #include "afxinet.h"
  5. #if !defined(AFX_HOTPIMUPLOADDLG_H__23002D4A_FF06_4C6F_87AE_EF784060B8A2__INCLUDED_)
  6. #define AFX_HOTPIMUPLOADDLG_H__23002D4A_FF06_4C6F_87AE_EF784060B8A2__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CHotpimUploadDlg dialog
  12. class CHotpimUploadDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CHttpConnection* m_pConnection;
  17. CString MakeRequestHeaders(CString& strBoundary);
  18. CString MakePreFileData(CString& strBoundary, CString& strFileName, int iRecordID);
  19. CString MakePostFileData(CString& strBoundary);
  20. BOOL SendTrack();    
  21. CHotpimUploadDlg(CWnd* pParent = NULL); // standard constructor
  22. // Dialog Data
  23. //{{AFX_DATA(CHotpimUploadDlg)
  24. enum { IDD = IDD_HOTPIMUPLOAD_DIALOG };
  25. // NOTE: the ClassWizard will add data members here
  26. //}}AFX_DATA
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CHotpimUploadDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. HICON m_hIcon;
  35. // Generated message map functions
  36. //{{AFX_MSG(CHotpimUploadDlg)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  39. afx_msg void OnPaint();
  40. afx_msg HCURSOR OnQueryDragIcon();
  41. afx_msg void OnButton1();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_HOTPIMUPLOADDLG_H__23002D4A_FF06_4C6F_87AE_EF784060B8A2__INCLUDED_)