RemoteDDNSEx.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #if !defined(AFX_REMOTEDDNSEX_H__9D925DEC_BBB6_4127_80A1_0D728F0912EE__INCLUDED_)
  2. #define AFX_REMOTEDDNSEX_H__9D925DEC_BBB6_4127_80A1_0D728F0912EE__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RemoteDDNSEx.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRemoteDDNSEx dialog
  10. class CRemoteDDNSEx : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CRemoteDDNSEx(CWnd* pParent = NULL); // standard constructor
  15. CRemoteDDNSEx(LONG lServerID, CWnd* pParent = NULL);
  16. // Dialog Data
  17. //{{AFX_DATA(CRemoteDDNSEx)
  18. enum { IDD = IDD_SUBDLG_DDNSCFGEX };
  19. CComboBox m_ServerTypeCombo;
  20. CString m_DDNSAddress;
  21. BOOL m_DDNSCheck;
  22. CString m_DDNSPwd;
  23. CString m_DDNSPwdVer;
  24. short m_DDNSPort;
  25. CString m_DDNSUser;
  26. CString m_DevDomain;
  27. CString m_IPServer;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CRemoteDDNSEx)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CRemoteDDNSEx)
  39. virtual void OnOK();
  40. afx_msg void OnSelchangeComboservertype();
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnDdnscheck();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. protected:
  46. void SwitchDDNSControl(BOOL bEnable);
  47. int CheckDomain(CString &Domain);
  48. private:
  49. LONG m_lServerID;
  50. NET_DVR_DDNSPARA_EX m_struDDNSCfg;
  51. public:
  52. afx_msg void OnBnClickedOk();
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_REMOTEDDNSEX_H__9D925DEC_BBB6_4127_80A1_0D728F0912EE__INCLUDED_)