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.

70 lines
1.8 KiB

  1. #if !defined(AFX_CHOOSESERVERSITE_H__25260090_DB36_49E2_9435_7519047DDF49__INCLUDED_)
  2. #define AFX_CHOOSESERVERSITE_H__25260090_DB36_49E2_9435_7519047DDF49__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ChooseServerSite.h : header file
  7. //
  8. #include "Certificat.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CChooseServerSite window
  11. class CCertificate;
  12. class CCertListCtrl : public CListCtrl
  13. {
  14. public:
  15. int GetSelectedIndex();
  16. void AdjustStyle();
  17. };
  18. class CChooseServerSite : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CChooseServerSite(BOOL bShowOnlyCertSites, CString& strSiteReturned, CCertificate * pCert = NULL,IN CWnd * pParent = NULL OPTIONAL);
  23. ~CChooseServerSite();
  24. // Dialog Data
  25. //{{AFX_DATA(CChooseServerSite)
  26. enum {IDD = IDD_DIALOG_CHOOSE_SITE};
  27. CCertListCtrl m_ServerSiteList;
  28. //}}AFX_DATA
  29. CCertificate * m_pCert;
  30. CString m_strSiteReturned;
  31. int m_Index;
  32. BOOL m_ShowOnlyCertSites;
  33. // Overrides
  34. //{{AFX_VIRTUAL(CChooseServerSite)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange * pDX);
  37. //}}AFX_VIRTUAL
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CChooseServerSite)
  41. virtual BOOL OnInitDialog();
  42. virtual void OnOK();
  43. afx_msg void OnClickSiteList(NMHDR* pNMHDR, LRESULT* pResult);
  44. afx_msg void OnDblClickSiteList(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnDestroy();
  46. //}}AFX_MSG
  47. BOOL FillListWithMetabaseSiteDesc();
  48. DECLARE_MESSAGE_MAP()
  49. private:
  50. };
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_CHOOSESERVERSITE_H__25260090_DB36_49E2_9435_7519047DDF49__INCLUDED_)