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.

47 lines
1018 B

  1. // editmime.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CEditMime dialog
  5. class CEditMime : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CEditMime(CWnd* pParent,
  10. LPCTSTR pchFileExtension,
  11. LPCTSTR pchMimeType,
  12. LPCTSTR pchImageFile,
  13. LPCTSTR pchGopherType
  14. ); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CEditMime)
  17. enum { IDD = IDD_EDITMIMEMAPDIALOG };
  18. CString m_strFileExtension;
  19. CString m_strGopherType;
  20. CString m_strImageFile;
  21. CString m_strMimeType;
  22. //}}AFX_DATA
  23. LPCTSTR GetFileExtension();
  24. LPCTSTR GetGopherType();
  25. LPCTSTR GetImageFile();
  26. LPCTSTR GetMimeType();
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CEditMime)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. // Generated message map functions
  36. //{{AFX_MSG(CEditMime)
  37. virtual void OnOK();
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };