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.

62 lines
1.2 KiB

  1. // LogODBC.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CLogODBC dialog
  5. class CLogODBC : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CLogODBC)
  8. // Construction
  9. public:
  10. CLogODBC();
  11. ~CLogODBC();
  12. // metabase target
  13. CString m_szServer;
  14. CString m_szMeta;
  15. IMSAdminBase* m_pMB;
  16. // Dialog Data
  17. //{{AFX_DATA(CLogODBC)
  18. enum { IDD = IDD_LOG_ODBC };
  19. CEdit m_cedit_password;
  20. CString m_sz_datasource;
  21. CString m_sz_password;
  22. CString m_sz_table;
  23. CString m_sz_username;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generate virtual function overrides
  27. //{{AFX_VIRTUAL(CLogODBC)
  28. public:
  29. virtual BOOL OnApply();
  30. virtual BOOL OnSetActive();
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CLogODBC)
  38. afx_msg void OnChangeOdbcDatasource();
  39. afx_msg void OnChangeOdbcPassword();
  40. afx_msg void OnChangeOdbcTable();
  41. afx_msg void OnChangeOdbcUsername();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. void DoHelp();
  45. void Init();
  46. // initialized flag
  47. BOOL m_fInitialized;
  48. CString m_szOrigPass;
  49. BOOL m_bPassTyped;
  50. };