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.

98 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1994-1998 Microsoft Corporation
  3. Module Name :
  4. hdrdlg.h
  5. Abstract:
  6. HTTP Headers dialog definitions
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. --*/
  13. #ifndef __HDRDLG_H__
  14. #define __HDRDLG_H__
  15. class CHeaderDlg : public CDialog
  16. /*++
  17. Class Description:
  18. HTTP Header dialog
  19. Public Interface:
  20. CHeaderDlg : Constructor
  21. GetHeader : Get header name
  22. GetValue : Get header value
  23. --*/
  24. {
  25. //
  26. // Construction
  27. //
  28. public:
  29. CHeaderDlg(
  30. IN LPCTSTR lpstrHeader = NULL,
  31. IN LPCTSTR lpstrValue = NULL,
  32. IN CWnd * pParent = NULL
  33. );
  34. //
  35. // Access
  36. //
  37. public:
  38. CString & GetHeader() { return m_strHeader; }
  39. CString & GetValue() { return m_strValue; }
  40. //
  41. // Dialog Data
  42. //
  43. protected:
  44. //{{AFX_DATA(CHeaderDlg)
  45. enum { IDD = IDD_CUSTOM_HEADER };
  46. CString m_strHeader;
  47. CString m_strValue;
  48. CEdit m_edit_Header;
  49. CButton m_button_Ok;
  50. //}}AFX_DATA
  51. //
  52. // Overrides
  53. //
  54. protected:
  55. // ClassWizard generated virtual function overrides
  56. //{{AFX_VIRTUAL(CHeaderDlg)
  57. protected:
  58. virtual void DoDataExchange(CDataExchange * pDX);
  59. //}}AFX_VIRTUAL
  60. //
  61. // Implementation
  62. //
  63. protected:
  64. // Generated message map functions
  65. //{{AFX_MSG(CHeaderDlg)
  66. afx_msg void OnChangeEditHeader();
  67. virtual BOOL OnInitDialog();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. #endif // __HDRDLG_H__