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.

107 lines
2.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation **/
  4. /**********************************************************************/
  5. /*
  6. profsht.h
  7. Definition of CProfileSheet -- property sheet to hold
  8. profile property pages
  9. FILE HISTORY:
  10. */
  11. #if !defined(AFX_PROFSHT_H__8C28D93B_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)
  12. #define AFX_PROFSHT_H__8C28D93B_2A69_11D1_853E_00C04FC31FD3__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // ProfSht.h : header file
  17. //
  18. #include "pgconst.h"
  19. #include "pgnetwk.h"
  20. #include "pgmulnk.h"
  21. #include "pgtunnel.h"
  22. #include "pgauthen.h"
  23. #include "pgauthen2k.h"
  24. #include "pgencryp.h"
  25. #include "rasdial.h"
  26. #include "pgencryp.h"
  27. #include "pgiasadv.h"
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CProfileSheetMerge
  30. class CProfileSheetMerge : public CPropertySheet, public CPageManager
  31. {
  32. DECLARE_DYNAMIC(CProfileSheetMerge)
  33. // Construction
  34. public:
  35. CProfileSheetMerge(CRASProfileMerge& Profile, bool bSaveOnApply, UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  36. CProfileSheetMerge(CRASProfileMerge& Profile, bool bSaveOnApply, LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  37. // abstract function OnApply
  38. virtual BOOL OnApply();
  39. BOOL IsApplied() { return m_bApplied;};
  40. BOOL m_bApplied; // the Applied button has been pressed
  41. void PreparePages(DWORD dwTabFlags, void* pvData);
  42. DWORD m_dwTabFlags;
  43. // Attributes
  44. public:
  45. // Operations
  46. public:
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(CProfileSheetMerge)
  50. public:
  51. virtual BOOL OnInitDialog();
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. public:
  55. virtual ~CProfileSheetMerge();
  56. HRESULT GetLastError() { return m_hrLastError;};
  57. CRASProfileMerge* m_pProfile;
  58. CPgConstraintsMerge m_pgConstraints;
  59. CPgNetworkingMerge m_pgNetworking;
  60. CPgMultilinkMerge m_pgMultilink;
  61. CPgAuthenticationMerge m_pgAuthentication;
  62. CPgAuthentication2kMerge m_pgAuthentication2k;
  63. CPgEncryptionMerge m_pgEncryption;
  64. // the advanced page for IAS
  65. CPgIASAdv m_pgIASAdv;
  66. bool m_bSaveOnApply;
  67. HRESULT m_hrLastError;
  68. // Generated message map functions
  69. protected:
  70. //{{AFX_MSG(CProfileSheetMerge)
  71. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  72. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  73. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  74. //}}AFX_MSG
  75. DECLARE_MESSAGE_MAP()
  76. };
  77. /////////////////////////////////////////////////////////////////////////////
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_PROFSHT_H__8C28D93B_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)