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.

171 lines
3.9 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. PrCar.cpp
  5. Abstract:
  6. Cartridge Property Pages.
  7. Author:
  8. Rohde Wakefield [rohde] 15-Sep-1997
  9. Revision History:
  10. --*/
  11. #ifndef _PRCAR_H
  12. #define _PRCAR_H
  13. #include "Ca.h"
  14. class CMediaInfoObject;
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CPropCartStatus dialog
  17. class CPropCartStatus : public CSakPropertyPage
  18. {
  19. // Construction
  20. public:
  21. CPropCartStatus( long resourceId );
  22. ~CPropCartStatus();
  23. // Dialog Data
  24. //{{AFX_DATA(CPropCartStatus)
  25. enum { IDD = IDD_PROP_CAR_STATUS };
  26. CRsGuiOneLiner m_Description;
  27. CRsGuiOneLiner m_Name;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generate virtual function overrides
  31. //{{AFX_VIRTUAL(CPropCartStatus)
  32. public:
  33. virtual BOOL OnApply();
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CPropCartStatus)
  41. virtual BOOL OnInitDialog();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. public:
  45. CComPtr <IHsmServer> m_pHsmServer;
  46. CComPtr <IRmsServer> m_pRmsServer;
  47. HRESULT Refresh();
  48. private:
  49. USHORT m_NumMediaCopies;
  50. BOOL m_bMultiSelect;
  51. UINT m_DlgID;
  52. };
  53. /////////////////////////////////////////////////////////////////////////////
  54. // CPropCartCopies dialog
  55. class CPropCartCopies : public CSakPropertyPage
  56. {
  57. // Construction
  58. public:
  59. CPropCartCopies( long resourceId );
  60. ~CPropCartCopies();
  61. // Dialog Data
  62. //{{AFX_DATA(CPropCartCopies)
  63. enum { IDD = IDD_PROP_CAR_COPIES };
  64. //}}AFX_DATA
  65. CRsGuiOneLiner m_Name3;
  66. CRsGuiOneLiner m_Name2;
  67. CRsGuiOneLiner m_Name1;
  68. CRsGuiOneLiner m_Status3;
  69. CRsGuiOneLiner m_Status2;
  70. CRsGuiOneLiner m_Status1;
  71. // Overrides
  72. // ClassWizard generate virtual function overrides
  73. //{{AFX_VIRTUAL(CPropCartCopies)
  74. protected:
  75. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  76. //}}AFX_VIRTUAL
  77. // Implementation
  78. protected:
  79. // Generated message map functions
  80. //{{AFX_MSG(CPropCartCopies)
  81. virtual BOOL OnInitDialog();
  82. afx_msg void OnDelete1();
  83. afx_msg void OnDelete2();
  84. afx_msg void OnDelete3();
  85. //}}AFX_MSG
  86. DECLARE_MESSAGE_MAP()
  87. public:
  88. CComPtr <IHsmServer> m_pHsmServer;
  89. CComPtr <IRmsServer> m_pRmsServer;
  90. HRESULT Refresh();
  91. private:
  92. USHORT m_NumMediaCopies;
  93. void OnDelete( int Copy );
  94. BOOL m_bMultiSelect;
  95. UINT m_DlgID;
  96. };
  97. /////////////////////////////////////////////////////////////////////////////
  98. // CPropCartRecover dialog
  99. class CPropCartRecover : public CSakPropertyPage
  100. {
  101. // Construction
  102. public:
  103. CPropCartRecover();
  104. ~CPropCartRecover();
  105. // Dialog Data
  106. //{{AFX_DATA(CPropCartRecover)
  107. enum { IDD = IDD_PROP_CAR_RECOVER };
  108. // NOTE - ClassWizard will add data members here.
  109. // DO NOT EDIT what you see in these blocks of generated code !
  110. //}}AFX_DATA
  111. // Overrides
  112. // ClassWizard generate virtual function overrides
  113. //{{AFX_VIRTUAL(CPropCartRecover)
  114. protected:
  115. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  116. //}}AFX_VIRTUAL
  117. // Implementation
  118. protected:
  119. // Generated message map functions
  120. //{{AFX_MSG(CPropCartRecover)
  121. virtual BOOL OnInitDialog();
  122. afx_msg void OnRecreateMaster();
  123. //}}AFX_MSG
  124. DECLARE_MESSAGE_MAP()
  125. private:
  126. USHORT m_NumMediaCopies;
  127. BOOL m_bMultiSelect;
  128. public:
  129. CComPtr <IHsmServer> m_pHsmServer;
  130. CComPtr <IRmsServer> m_pRmsServer;
  131. HRESULT Refresh();
  132. };
  133. //{{AFX_INSERT_LOCATION}}
  134. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  135. //}}AFX
  136. #endif // _PRCAR_H