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.

75 lines
1.4 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: SharePointInstallationUnit.h
  4. //
  5. // Synopsis: Declares a SharePointInstallationUnit
  6. // This object has the knowledge for installing the
  7. // SharePoint server
  8. //
  9. // History: 02/06/2001 JeffJon Created
  10. #ifndef __CYS_SHAREPOINTINSTALLATIONUNIT_H
  11. #define __CYS_SHAREPOINTINSTALLATIONUNIT_H
  12. #include "InstallationUnit.h"
  13. #include "fpcyscom.h"
  14. class SharePointInstallationUnit : public InstallationUnit
  15. {
  16. public:
  17. // Constructor
  18. SharePointInstallationUnit();
  19. // Destructor
  20. virtual
  21. ~SharePointInstallationUnit();
  22. // Installation Unit overrides
  23. virtual
  24. InstallationReturnType
  25. InstallService(HANDLE logfileHandle, HWND hwnd);
  26. virtual
  27. bool
  28. IsServiceInstalled();
  29. virtual
  30. bool
  31. GetFinishText(String& message);
  32. virtual
  33. String
  34. GetServiceDescription();
  35. // Data accessors
  36. void
  37. SetReplaceHomePage(bool replace);
  38. bool
  39. ReplaceHomePage() { return replaceHomepage; }
  40. String
  41. GetReplacementHomePage();
  42. bool
  43. IsThereAPageToReplace();
  44. private:
  45. SmartInterface<ISpCys>&
  46. GetSharePointObject();
  47. SmartInterface<ISpCys> sharePointObject;
  48. bool replaceHomepage;
  49. String nonDefaultHP;
  50. };
  51. #endif // __CYS_SHAREPOINTINSTALLATIONUNIT_H