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.

66 lines
1.7 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: newprof.h
  7. //
  8. // Contents: definition of CNewProfile
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_NEWPROFILE_H__BFAC7E70_3C50_11D2_93B4_00C04FD92F7B__INCLUDED_)
  12. #define AFX_NEWPROFILE_H__BFAC7E70_3C50_11D2_93B4_00C04FD92F7B__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "HelpDlg.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CNewProfile dialog
  19. class CNewProfile : public CHelpDialog
  20. {
  21. // Construction
  22. public:
  23. CNewProfile(CWnd* pParent = NULL); // standard constructor
  24. void Initialize(CFolder *pFolder, CComponentDataImpl *pCDI);
  25. // Dialog Data
  26. //{{AFX_DATA(CNewProfile)
  27. enum { IDD = IDD_NEW_PROFILE };
  28. CButton m_btnOK;
  29. CString m_strNewFile;
  30. CString m_strDescription;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CNewProfile)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CNewProfile)
  42. afx_msg void OnChangeConfigName();
  43. virtual void OnOK();
  44. virtual BOOL OnInitDialog();
  45. virtual void OnCancel();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. CFolder *m_pFolder;
  49. CComponentDataImpl *m_pCDI;
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_NEWPROFILE_H__BFAC7E70_3C50_11D2_93B4_00C04FD92F7B__INCLUDED_)