--- a/kernel/eka/include/kernel/kpower.h Wed Aug 18 11:08:29 2010 +0300
+++ b/kernel/eka/include/kernel/kpower.h Thu Sep 02 21:54:16 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"
@@ -155,6 +155,16 @@
@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__