kernel/eka/include/kernel/kpower.h
changeset 259 57b9594f5772
parent 90 947f0dc9f7a8
child 280 2bfb1feef9de
equal deleted inserted replaced
247:d8d70de2bd36 259:57b9594f5772
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1998-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 the License "Eclipse Public License v1.0"
     4 // under the terms of the License "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".
   153 	                    
   153 	                    
   154 	@see DPowerController::iTargetState
   154 	@see DPowerController::iTargetState
   155     @see TPowerState
   155     @see TPowerState
   156 	*/
   156 	*/
   157 	virtual void PowerDown(TTimeK aWakeupTime) = 0;
   157 	virtual void PowerDown(TTimeK aWakeupTime) = 0;
       
   158 
       
   159 	/**
       
   160 	Registers resources of interest for Idle with Resource Manager
       
   161 
       
   162 	Function also provided for power controller to perform other operations if required.
       
   163 	*/
       
   164 	virtual TInt DoRegisterResourceController()
       
   165 		{
       
   166 		return KErrNone;
       
   167 		}
   158 	};
   168 	};
   159 
   169 
   160 #ifndef __X86__
   170 #ifndef __X86__
   161 /**
   171 /**
   162 @internalComponent
   172 @internalComponent