sysstatemgmt/systemstatemgr/cmd/src/cmdpublishsystemstate.cpp
changeset 44 2c28af138640
parent 0 4e1aa6a622a0
equal deleted inserted replaced
35:f7565e9c9ce8 44:2c28af138640
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   292 void CCmdPublishSystemState::DoCancel()
   292 void CCmdPublishSystemState::DoCancel()
   293 	{
   293 	{
   294 	if(iConnected)
   294 	if(iConnected)
   295 		{
   295 		{
   296 		iDomainManager.CancelTransition();
   296 		iDomainManager.CancelTransition();
       
   297 		// Close domain manager connection
       
   298 		iDomainManager.Close();
       
   299 		iConnected = EFalse;
   297 		}
   300 		}
   298 	}
   301 	}
   299 
   302 
   300 CCmdPublishSystemState::CCmdPublishSystemState()
   303 CCmdPublishSystemState::CCmdPublishSystemState()
   301 	{
   304 	{