Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.1 KiB

  1. #if !defined(AFX_DPHTTPPAGE_H__0708329A_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)
  2. #define AFX_DPHTTPPAGE_H__0708329A_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DPHttpPage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDPHttpPage dialog
  11. class CDPHttpPage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CDPHttpPage)
  14. // Construction
  15. public:
  16. CString UnconvertSpecialChars(const CString& sString);
  17. CString ConvertSpecialChars(const CString& sString);
  18. BOOL GetAuthTypeFromCombo();
  19. void LoadAuthTypeCombo();
  20. CDPHttpPage();
  21. ~CDPHttpPage();
  22. // Dialog Data
  23. //{{AFX_DATA(CDPHttpPage)
  24. enum { IDD = IDD_DATAPOINT_HTTP };
  25. BOOL m_bRequireReset;
  26. BOOL m_bUseProxy;
  27. CString m_sAuthentication;
  28. CString m_sPassword;
  29. CString m_sProxyAddress;
  30. CString m_sProxyPort;
  31. float m_fTimeout;
  32. CString m_sURL;
  33. CString m_sUserName;
  34. //}}AFX_DATA
  35. CString m_sMethod;
  36. CString m_sExtraHeaders;
  37. CString m_sPostData;
  38. BOOL m_bFollowRedirects;
  39. // v-marfin Bug 61451
  40. int m_iAuthType;
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CDPHttpPage)
  44. public:
  45. virtual void OnOK();
  46. virtual BOOL OnApply();
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. BOOL SetAuthTypeCombo();
  53. // Generated message map functions
  54. //{{AFX_MSG(CDPHttpPage)
  55. virtual BOOL OnInitDialog();
  56. afx_msg void OnDestroy();
  57. afx_msg void OnButtonAdvanced();
  58. afx_msg void OnCheckUseProxy();
  59. afx_msg void OnCheckRequireReset();
  60. afx_msg void OnEditchangeComboAuthentication();
  61. afx_msg void OnChangeEditPassword();
  62. afx_msg void OnChangeEditProxyAddress();
  63. afx_msg void OnChangeEditProxyPort();
  64. afx_msg void OnChangeEditTimeout();
  65. afx_msg void OnChangeEditUrl();
  66. afx_msg void OnChangeEditUserName();
  67. //}}AFX_MSG
  68. DECLARE_MESSAGE_MAP()
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_DPHTTPPAGE_H__0708329A_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)