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.

43 lines
983 B

  1. // ImprtDlg.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CImportDialog dialog
  5. class CImportDialog : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CImportDialog(CWnd* pParent = NULL); // standard constructor
  10. // Dialog Data
  11. //{{AFX_DATA(CImportDialog)
  12. enum { IDD = IDD_IMPORT_KEY_PAIR };
  13. CEdit m_cedit_Private;
  14. CEdit m_cedit_Cert;
  15. CString m_cstring_CertFile;
  16. CString m_cstring_PrivateFile;
  17. //}}AFX_DATA
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CImportDialog)
  21. protected:
  22. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  23. //}}AFX_VIRTUAL
  24. // Implementation
  25. protected:
  26. // Generated message map functions
  27. //{{AFX_MSG(CImportDialog)
  28. afx_msg void OnBrowseCert();
  29. afx_msg void OnBrowsePrivate();
  30. virtual void OnOK();
  31. //}}AFX_MSG
  32. DECLARE_MESSAGE_MAP();
  33. // go browsing for a file
  34. BOOL FBrowseForAFile( CString &szFile, BOOL fBrowseForCertificate );
  35. };