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.

90 lines
2.9 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: addupgrd.h
  7. //
  8. // Contents: add upgrade deployment dialog
  9. //
  10. // Classes: CAddUpgrade
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_ADDUPGRD_H__7D8EB948_9E76_11D1_9854_00C04FB9603F__INCLUDED_)
  16. #define AFX_ADDUPGRD_H__7D8EB948_9E76_11D1_9854_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. // AddUpgrd.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CAddUpgrade dialog
  24. class CAddUpgrade : public CDialog
  25. {
  26. // Construction
  27. public:
  28. CAddUpgrade(CWnd* pParent = NULL); // standard constructor
  29. // Dialog Data
  30. //{{AFX_DATA(CAddUpgrade)
  31. enum { IDD = IDD_FIND_UPGRADE };
  32. int m_iUpgradeType;
  33. int m_iSource;
  34. //}}AFX_DATA
  35. CUpgradeData m_UpgradeData; // out
  36. CString m_szPackageName;// out
  37. UINT m_cUpgrades; // in
  38. map <CString, CUpgradeData> * m_pUpgradeList;
  39. CString m_szMyGuid; // in - script file for the current
  40. // application (used to exclude the
  41. // current script file from the
  42. // potential upgrade set)
  43. CScopePane * m_pScope; // in - used to build the list of
  44. // deployed apps
  45. CString m_szGPO; // LDAP path to selected GPO
  46. CString m_szGPOName; // Name of selected GPO;
  47. private:
  48. map<CString, CUpgradeData> m_NameIndex;
  49. BOOL m_fPopulated;
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CAddUpgrade)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. protected:
  59. // Generated message map functions
  60. //{{AFX_MSG(CAddUpgrade)
  61. virtual BOOL OnInitDialog();
  62. virtual void OnOK();
  63. afx_msg void OnCurrentContainer();
  64. afx_msg void OnOtherContainer();
  65. afx_msg void OnAllContainers();
  66. afx_msg void OnBrowse();
  67. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. void RefreshList();
  71. };
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_ADDUPGRD_H__7D8EB948_9E76_11D1_9854_00C04FB9603F__INCLUDED_)