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.

90 lines
2.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CClusSvcCleanup.h
  7. //
  8. // Description:
  9. // Header file for CClusSvcCleanup class.
  10. // The CClusSvcCleanup class is an action that cleans up the cluster service.
  11. //
  12. // Implementation Files:
  13. // CClusSvcCleanup.cpp
  14. //
  15. // Maintained By:
  16. // Vij Vasu (Vvasu) 01-MAY-2000
  17. //
  18. //////////////////////////////////////////////////////////////////////////////
  19. // Make sure that this file is included only once per compile path.
  20. #pragma once
  21. //////////////////////////////////////////////////////////////////////////
  22. // Include Files
  23. //////////////////////////////////////////////////////////////////////////
  24. // For the CClusSvc base class
  25. #include "CClusSvc.h"
  26. //////////////////////////////////////////////////////////////////////////
  27. // Forward declaration
  28. //////////////////////////////////////////////////////////////////////////
  29. class CBaseClusterCleanup;
  30. //////////////////////////////////////////////////////////////////////////////
  31. //++
  32. //
  33. // class CClusSvcCleanup
  34. //
  35. // Description:
  36. // The CClusSvcCleanup class is an action that clean up the ClusSvc service.
  37. //
  38. //--
  39. //////////////////////////////////////////////////////////////////////////////
  40. class CClusSvcCleanup : public CClusSvc
  41. {
  42. public:
  43. //////////////////////////////////////////////////////////////////////////
  44. // Constructors and destructors
  45. //////////////////////////////////////////////////////////////////////////
  46. // Constructor.
  47. CClusSvcCleanup( CBaseClusterCleanup * pbccParentActionIn );
  48. // Default destructor.
  49. ~CClusSvcCleanup();
  50. //////////////////////////////////////////////////////////////////////////
  51. // Public methods
  52. //////////////////////////////////////////////////////////////////////////
  53. //
  54. // Clean up the ClusSvc service.
  55. //
  56. void Commit();
  57. //
  58. // Rollback this cleanup.
  59. //
  60. void Rollback();
  61. private:
  62. //////////////////////////////////////////////////////////////////////////
  63. // Private types
  64. //////////////////////////////////////////////////////////////////////////
  65. typedef CClusSvc BaseClass;
  66. //////////////////////////////////////////////////////////////////////////
  67. // Private data
  68. //////////////////////////////////////////////////////////////////////////
  69. }; //*** class CClusSvcCleanup