69 TInt ChangeResource(TPowerRequest& req, TInt& aClientLevel, TInt aMaxLevel, TInt aMinLevel); |
69 TInt ChangeResource(TPowerRequest& req, TInt& aClientLevel, TInt aMaxLevel, TInt aMinLevel); |
70 // Function to process event driven resources |
70 // Function to process event driven resources |
71 TInt ProcessEventResources(TPowerRequest& req, TInt& aClientLevel, TInt aMaxLevel, TInt aMinLevel, TInt aDefaultLevel, TInt aBlockTime = 0); |
71 TInt ProcessEventResources(TPowerRequest& req, TInt& aClientLevel, TInt aMaxLevel, TInt aMinLevel, TInt aDefaultLevel, TInt aBlockTime = 0); |
72 IMPORT_C static TInt CaptureIdleResourcesInfo(TUint aControllerId, TUint aNumResources, TPtr* aPtr); |
72 IMPORT_C static TInt CaptureIdleResourcesInfo(TUint aControllerId, TUint aNumResources, TPtr* aPtr); |
73 IMPORT_C static TInt CompleteResourceControllerInitialisation(); |
73 IMPORT_C static TInt CompleteResourceControllerInitialisation(); |
|
74 IMPORT_C static TInt ResourceControllerRegistration(); |
74 #ifdef PRM_ENABLE_EXTENDED_VERSION |
75 #ifdef PRM_ENABLE_EXTENDED_VERSION |
75 TInt DoRegisterStaticResourcesDependency(RPointerArray <DStaticPowerResourceD> & aStaticResourceDArray); |
76 TInt DoRegisterStaticResourcesDependency(RPointerArray <DStaticPowerResourceD> & aStaticResourceDArray); |
76 TInt CreateResourceDependency(RPointerArray <DStaticPowerResourceD> & pResArray); |
77 TInt CreateResourceDependency(RPointerArray <DStaticPowerResourceD> & pResArray); |
77 #endif |
78 #endif |
78 private: |
79 private: |