////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000 Microsoft Corporation // // Module Name: // CClusSvcCreate.h // // Description: // Header file for CClusSvcCreate class. // The CClusSvcCreate class is an action that creates the cluster service. // // Implementation Files: // CClusSvcCreate.cpp // // Maintained By: // Vij Vasu (Vvasu) 03-MAR-2000 // ////////////////////////////////////////////////////////////////////////////// // Make sure that this file is included only once per compile path. #pragma once ////////////////////////////////////////////////////////////////////////// // Include Files ////////////////////////////////////////////////////////////////////////// // For the CClusSvc base class #include "CClusSvc.h" ////////////////////////////////////////////////////////////////////////// // Forward declaration ////////////////////////////////////////////////////////////////////////// class CBaseClusterAddNode; ////////////////////////////////////////////////////////////////////////////// //++ // // class CClusSvcCreate // // Description: // The CClusSvcCreate class is an action that creates the ClusSvc service. // //-- ////////////////////////////////////////////////////////////////////////////// class CClusSvcCreate : public CClusSvc { public: ////////////////////////////////////////////////////////////////////////// // Constructors and destructors ////////////////////////////////////////////////////////////////////////// // Constructor. CClusSvcCreate( CBaseClusterAddNode * pbcanParentActionIn ); // Default destructor. ~CClusSvcCreate(); ////////////////////////////////////////////////////////////////////////// // Public methods ////////////////////////////////////////////////////////////////////////// // // Create the ClusSvc service. // void Commit(); // // Rollback this creation. // void Rollback(); // Returns the number of progress messages that this action will send. UINT UiGetMaxProgressTicks() const throw() { // Two notifications are sent: // 1. When the service is created. // 2. When the service starts. return 2; } private: ////////////////////////////////////////////////////////////////////////// // Private types ////////////////////////////////////////////////////////////////////////// typedef CClusSvc BaseClass; ////////////////////////////////////////////////////////////////////////// // Private data ////////////////////////////////////////////////////////////////////////// }; //*** class CClusSvcCreate