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.

104 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name :
  4. wwwcmpts.hxx
  5. Abstract:
  6. Classes that are used to Install and Uninstall the
  7. WWW IIS Components. These include ASP, IDC, WebDav,
  8. and SSINC
  9. Author:
  10. Christopher Achille (cachille)
  11. Project:
  12. Internet Services Setup
  13. Revision History:
  14. May 2002: Created
  15. --*/
  16. #include "compinst.hxx"
  17. // CWWWExtensionInstallComponent
  18. //
  19. // This is the default class for extensions.
  20. // This exposed the icon, and maybe a couple other things.
  21. //
  22. class CWWWExtensionInstallComponent : public CInstallComponent
  23. {
  24. private:
  25. BOOL UpdateEntry( BOOL bEnable );
  26. protected:
  27. virtual DWORD GetComponentIndex() = 0;
  28. public:
  29. BOOL Install();
  30. BOOL UnInstall();
  31. BOOL IsInstalled( LPBOOL pbIsInstalled );
  32. LPTSTR GetName();
  33. BOOL GetFriendlyName( TSTR *pstrFriendlyName );
  34. BOOL GetSmallIcon( HBITMAP *phIcon );
  35. };
  36. // CWWWASPInstallComponent
  37. //
  38. // This is the ASP component, then enables and disables ASP
  39. //
  40. class CWWWASPInstallComponent : public CWWWExtensionInstallComponent
  41. {
  42. protected:
  43. DWORD GetComponentIndex();
  44. public:
  45. };
  46. // CWWWIDCInstallComponent
  47. //
  48. // This is the IDC component, then enables and disables IDC
  49. //
  50. class CWWWIDCInstallComponent : public CWWWExtensionInstallComponent
  51. {
  52. protected:
  53. DWORD GetComponentIndex();
  54. public:
  55. };
  56. // CWWWSSIInstallComponent
  57. //
  58. // This is the SSINC component, then enables and disables SSINC
  59. //
  60. class CWWWSSIInstallComponent : public CWWWExtensionInstallComponent
  61. {
  62. protected:
  63. DWORD GetComponentIndex();
  64. public:
  65. };
  66. // CWWWWebDavInstallComponent
  67. //
  68. // This is the WebDAV component, then enables and disables Web DAV
  69. //
  70. class CWWWWebDavInstallComponent : public CWWWExtensionInstallComponent
  71. {
  72. protected:
  73. DWORD GetComponentIndex();
  74. public:
  75. };