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.

57 lines
1.1 KiB

  1. // Copyright (c) 1997-2001 Microsoft Corporation
  2. //
  3. // File: ClusterInstallationUnit.h
  4. //
  5. // Synopsis: Declares a ClusterInstallationUnit
  6. // This object has the knowledge for installing the
  7. // clustering service
  8. //
  9. // History: 02/09/2001 JeffJon Created
  10. #ifndef __CYS_CLUSTERINSTALLATIONUNIT_H
  11. #define __CYS_CLUSTERINSTALLATIONUNIT_H
  12. #include "InstallationUnit.h"
  13. class ClusterInstallationUnit : public InstallationUnit
  14. {
  15. public:
  16. // Constructor
  17. ClusterInstallationUnit();
  18. // Destructor
  19. virtual
  20. ~ClusterInstallationUnit();
  21. // Installation Unit overrides
  22. virtual
  23. InstallationReturnType
  24. InstallService(HANDLE logfileHandle, HWND hwnd);
  25. virtual
  26. bool
  27. IsServiceInstalled();
  28. virtual
  29. bool
  30. GetFinishText(String& message);
  31. String
  32. GetServiceDescription();
  33. void
  34. SetNewCluster(bool newCluster) { makeNewCluster = newCluster; }
  35. bool
  36. MakeNewCluster() const;
  37. private:
  38. bool makeNewCluster;
  39. };
  40. #endif // __CYS_CLUSTERINSTALLATIONUNIT_H