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.

53 lines
1.5 KiB

  1. #pragma once
  2. class CImportOptions : public CPropertyPageImpl<CImportOptions>
  3. {
  4. typedef CPropertyPageImpl<CImportOptions> BaseClass;
  5. public:
  6. enum{ IDD = IDD_WPIMP_OPTIONS };
  7. BEGIN_MSG_MAP(CImportOptions)
  8. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  9. COMMAND_ID_HANDLER( IDC_BROWSE, OnBrowse )
  10. COMMAND_ID_HANDLER( IDC_CUSTOMPATH, OnCustomPath )
  11. CHAIN_MSG_MAP(BaseClass)
  12. END_MSG_MAP()
  13. CImportOptions ( CWizardSheet* pTheSheet );
  14. BOOL OnSetActive ( void );
  15. LRESULT OnInitDialog ( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
  16. LRESULT OnBrowse ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  17. LRESULT OnCustomPath ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  18. int OnWizardNext ( void );
  19. private:
  20. void SetupOptions ( void );
  21. bool VerifyCustomPath( void );
  22. void ParseSelectedOptions( void );
  23. // Shared data
  24. public:
  25. bool m_bImportInherited;
  26. bool m_bImportContent;
  27. bool m_bImportCert;
  28. bool m_bReuseCerts;
  29. bool m_bPerformPostProcess;
  30. bool m_bApplyACLs;
  31. bool m_bPurgeOldData;
  32. bool m_bUseCustomPath;
  33. CString m_strCustomPath;
  34. // Data members
  35. private:
  36. CWizardSheet* m_pTheSheet;
  37. CString m_strTitle;
  38. CString m_strSubTitle;
  39. CListViewCtrl m_Options;
  40. };