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.

57 lines
1.7 KiB

  1. #if !defined(AFX_UPGRADES_H__7D8EB947_9E76_11D1_9854_00C04FB9603F__INCLUDED_)
  2. #define AFX_UPGRADES_H__7D8EB947_9E76_11D1_9854_00C04FB9603F__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // Upgrades.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CUpgrades dialog
  10. class CUpgrades : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CUpgrades(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CUpgrades)
  17. enum { IDD = IDD_UPGRADE };
  18. // NOTE: the ClassWizard will add data members here
  19. //}}AFX_DATA
  20. // m_UpgradeList: entry for the cookie of each thing to be upgraded
  21. // BOOL is true if Uninstall is requred.
  22. std::map<long, BOOL> m_UpgradeList;
  23. // m_NameIndex: maps names to cookies
  24. std::map<CString, long> m_NameIndex;
  25. std::map<long, APP_DATA> * m_pAppData;
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CUpgrades)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CUpgrades)
  36. afx_msg void OnAdd();
  37. afx_msg void OnEdit();
  38. afx_msg void OnRemove();
  39. virtual BOOL OnInitDialog();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_UPGRADES_H__7D8EB947_9E76_11D1_9854_00C04FB9603F__INCLUDED_)