Leaked source code of windows server 2003
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.

64 lines
1.6 KiB

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