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.

84 lines
1.9 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*++
  3. Module Name:
  4. AddKp.h
  5. Abstract:
  6. This Module defines the CAddKeyPack Dialog class
  7. (Dialog box used for adding keypacks)
  8. Author:
  9. Arathi Kundapur (v-akunda) 11-Feb-1998
  10. Revision History:
  11. --*/
  12. #if !defined(AFX_ADDKEYPACK_H__0AD8B4BD_995D_11D1_850D_00C04FB6CBB5__INCLUDED_)
  13. #define AFX_ADDKEYPACK_H__0AD8B4BD_995D_11D1_850D_00C04FB6CBB5__INCLUDED_
  14. #if _MSC_VER >= 1000
  15. #endif // _MSC_VER >= 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CAddKeyPack dialog
  18. class CAddLicenses;
  19. class CRemoveLicenses;
  20. class CAddKeyPack : public CDialog
  21. {
  22. // Construction
  23. public:
  24. BOOL m_bIsUserAdmin;
  25. CAddKeyPack(CWnd* pParent = NULL); // standard constructor
  26. CAddKeyPack(KeyPackList *pKeyPackList,BOOL bIsUserAdmin,CWnd* pParent = NULL);
  27. void GetKeyPack(CString ProdDesc, CKeyPack ** ppKeyPack);
  28. friend CAddLicenses;
  29. friend CRemoveLicenses;
  30. private:
  31. KeyPackList * m_pKeyPackList;
  32. // Dialog Data
  33. //{{AFX_DATA(CAddKeyPack)
  34. enum { IDD = IDD_ADD_KEYPACK };
  35. CString m_KeypackType;
  36. CComboBox m_LicenseCombo;
  37. UINT m_TotalLicenses;
  38. //}}AFX_DATA
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CAddKeyPack)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CAddKeyPack)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnHelp2();
  51. afx_msg void OnAddLicenses();
  52. afx_msg void OnRemoveLicenses();
  53. virtual void OnOK();
  54. afx_msg void OnSelchangeKeypackType();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_ADDKEYPACK_H__0AD8B4BD_995D_11D1_850D_00C04FB6CBB5__INCLUDED_)