RemoteNetConfig.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #if !defined(AFX_REMOTENETCONFIG_H__46DCC693_7559_4436_B36C_817D9C9A874B__INCLUDED_)
  2. #define AFX_REMOTENETCONFIG_H__46DCC693_7559_4436_B36C_817D9C9A874B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RemoteNetConfig.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRemoteNetConfig dialog
  10. class CRemoteNetConfig : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CRemoteNetConfig(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CRemoteNetConfig)
  17. enum { IDD = IDD_SUBDLG_NETCFG };
  18. CComboBox m_NFSDiskCombo;
  19. CComboBox m_IntervalCombo;
  20. CComboBox m_ServerCombo;
  21. CListCtrl m_RecvList;
  22. CString m_AccountSendName;
  23. CString m_AccountUserName;
  24. CString m_AccountPasswd;
  25. CString m_AccountPasswdConf;
  26. CString m_ServerAddress;
  27. BOOL m_AuthenCheck;
  28. BOOL m_AttachCheck;
  29. short m_NTPInterval;
  30. CString m_DDNSAddress;
  31. CString m_NTPAddress;
  32. CString m_DDNSUserName;
  33. CString m_DDNSPwdConf;
  34. CString m_DDNSPwd;
  35. CString m_AccountAddress;
  36. CString m_NFSDirectory;
  37. BOOL m_NTPCheck;
  38. BOOL m_DDNSCheck;
  39. CString m_NFSIPAddress;
  40. short m_NTPInterHour;
  41. short m_NTPInterMin;
  42. CString m_DnsIP;
  43. //}}AFX_DATA
  44. // Overrides
  45. // ClassWizard generated virtual function overrides
  46. //{{AFX_VIRTUAL(CRemoteNetConfig)
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(CRemoteNetConfig)
  54. virtual BOOL OnInitDialog();
  55. afx_msg void OnAddrecv();
  56. afx_msg void OnDelrecv();
  57. afx_msg void OnNtpcheck();
  58. afx_msg void OnDdnscheck();
  59. afx_msg void OnConfirm();
  60. afx_msg void OnCancel();
  61. afx_msg void OnSelchangeNfsdiskcombo();
  62. afx_msg void OnAuthencheck();
  63. afx_msg void OnAttachcheck();
  64. afx_msg void OnSavenfs();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. void EnableNTPItem(BOOL bEnable);
  68. void EnableDDNSItem(BOOL bEnable);
  69. public:
  70. LONG m_lServerID;
  71. BOOL m_bChangeFlag;
  72. NET_DVR_EMAILCFG m_AccountEmailCfg;
  73. NET_DVR_NTPPARA m_NTPPara;
  74. NET_DVR_DDNSPARA m_DDNSPara;
  75. NET_DVR_NETAPPCFG m_NetAppPara;
  76. NET_DVR_NFSCFG m_NFSCfg;
  77. };
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_REMOTENETCONFIG_H__46DCC693_7559_4436_B36C_817D9C9A874B__INCLUDED_)