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.

86 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1994-2000 Microsoft Corporation
  3. Module Name :
  4. app_app_pool.h
  5. Abstract:
  6. Add new IIS Application Pool node classes
  7. Author:
  8. Sergei Antonov (sergeia)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. 12/26/2000 sergeia Initial creation
  13. --*/
  14. #ifndef _ADD_APP_POOL_H
  15. #define _ADD_APP_POOL_H
  16. class CAddAppPoolDlg : public CDialog
  17. {
  18. public:
  19. CAddAppPoolDlg(
  20. CAppPoolsContainer * pCont,
  21. CPoolList * pools,
  22. CWnd * pParent = NULL);
  23. ~CAddAppPoolDlg();
  24. BOOL UseMaster() { return m_fUseMaster; }
  25. public:
  26. //{{AFX_DATA(CAddAppPoolDlg)
  27. enum { IDD = IDD_ADD_APP_POOL };
  28. CEdit m_edit_PoolName;
  29. CString m_strPoolName;
  30. CEdit m_edit_PoolId;
  31. CString m_strPoolId;
  32. CButton m_button_UseMaster;
  33. CButton m_button_UsePool;
  34. CComboBox m_combo_Pool;
  35. int m_PoolIdx;
  36. //}}AFX_DATA
  37. //
  38. // Overrides
  39. //
  40. protected:
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CAddAppPoolDlg)
  43. protected:
  44. virtual void DoDataExchange(CDataExchange * pDX);
  45. //}}AFX_VIRTUAL
  46. //
  47. // Implementation
  48. //
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CAddAppPoolDlg)
  52. afx_msg void OnButtonUseMaster();
  53. afx_msg void OnButtonUsePool();
  54. virtual BOOL OnInitDialog();
  55. virtual void OnOK();
  56. //}}AFX_MSG
  57. afx_msg void OnItemChanged();
  58. afx_msg void OnHelp();
  59. DECLARE_MESSAGE_MAP()
  60. void SetControlStates();
  61. BOOL IsUniqueId(CString& id,BOOL bCheckMetabase);
  62. void MakeUniquePoolId(CString& str);
  63. void MakeUniquePoolName(CString& str);
  64. private:
  65. BOOL m_fUseMaster;
  66. CAppPoolsContainer * m_pCont;
  67. CPoolList * m_pool_list;
  68. };
  69. #endif //_ADD_APP_POOL_H