00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_DOWNLOADPROPERTIES_PROTOCOLPAGE_H__2D4E9684_45C0_4AB9_8556_8064788A5BA7__INCLUDED_) 00007 #define AFX_DOWNLOADPROPERTIES_PROTOCOLPAGE_H__2D4E9684_45C0_4AB9_8556_8064788A5BA7__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "list.h" 00014 00015 class CDownloadProperties_ProtocolPage : public CPropertyPage 00016 { 00017 friend class CDownloadPropertiesSheet; 00018 00019 DECLARE_DYNCREATE(CDownloadProperties_ProtocolPage) 00020 00021 public: 00022 CDownloadProperties_ProtocolPage(); 00023 ~CDownloadProperties_ProtocolPage(); 00024 00025 //{{AFX_DATA(CDownloadProperties_ProtocolPage) 00026 enum { IDD = IDD_DOWNLOAD_PROTOCOL }; 00027 //}}AFX_DATA 00028 00029 //{{AFX_VIRTUAL(CDownloadProperties_ProtocolPage) 00030 public: 00031 virtual BOOL OnApply(); 00032 protected: 00033 virtual void DoDataExchange(CDataExchange* pDX); 00034 //}}AFX_VIRTUAL 00035 00036 protected: 00037 void PrepareCHMgr(CPoint point); 00038 void ApplyLanguage(); 00039 BOOL m_bRefererModified; 00040 void UpdateEnabled(); 00041 CComboBox m_wndUserAgent; 00042 00043 DLDS_LIST *m_pvDlds; 00044 00045 //{{AFX_MSG(CDownloadProperties_ProtocolPage) 00046 virtual BOOL OnInitDialog(); 00047 afx_msg void OnBinary(); 00048 afx_msg void OnAscii(); 00049 afx_msg void OnAsciiforexts(); 00050 afx_msg void OnEditchangeUseragent(); 00051 afx_msg void OnSelchangeUseragent(); 00052 afx_msg void OnChangeReferer(); 00053 afx_msg void OnUsehttp11(); 00054 afx_msg void OnUsecookie(); 00055 afx_msg void OnUsepassivemode(); 00056 afx_msg void OnChangeAsciiexts(); 00057 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 00058 afx_msg void OnWhatisthis(); 00059 afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 00060 afx_msg void OnDontsendlist(); 00061 //}}AFX_MSG 00062 DECLARE_MESSAGE_MAP() 00063 }; 00064 00065 //{{AFX_INSERT_LOCATION}//}} 00066 00067 #endif
1.5.6