kernel/eka/include/kernel/kpower.h
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
--- a/kernel/eka/include/kernel/kpower.h	Thu Aug 19 11:14:22 2010 +0300
+++ b/kernel/eka/include/kernel/kpower.h	Tue Aug 31 16:34:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of the License "Eclipse Public License v1.0"
@@ -15,7 +15,7 @@
 // Public header for power management
 // 
 // WARNING: This file contains some APIs which are internal and are subject
-//          to change without notice. Such APIs should therefore not be used
+//          to change without noticed. Such APIs should therefore not be used
 //          outside the Kernel and Hardware Services package.
 //
 
@@ -27,7 +27,7 @@
 #include <kernel/kernel.h>
 
 /**
-@internalTechnology
+@internalComponent
 */
 #define __PM_ASSERT(aCond) \
 	__ASSERT_DEBUG( (aCond), \
@@ -37,7 +37,7 @@
 		) )
 
 /**
-@internalTechnology
+@internalComponent
 */
 #define __PM_PANIC(aMsg) \
 	(\
@@ -155,11 +155,21 @@
     @see TPowerState
 	*/
 	virtual void PowerDown(TTimeK aWakeupTime) = 0;
+
+	/**
+	Registers resources of interest for Idle with Resource Manager
+
+	Function also provided for power controller to perform other operations if required.
+	*/
+	virtual TInt DoRegisterResourceController()
+		{
+		return KErrNone;
+		}
 	};
 
 #ifndef __X86__
 /**
-@internalTechnology
+@internalComponent
 @prototype 9.5
 */
 class TPowerController
@@ -172,7 +182,7 @@
 #endif
 
 /**
-@internalTechnology
+@internalComponent
 */
 class DBatteryMonitor
 	{
@@ -185,7 +195,7 @@
 	};
 
 /**
-@internalTechnology
+@internalComponent
 */
 class DPowerHal : public DBase
 	{