featuremgmt/featuremgr/src/clientdll/featmgrclient.cpp
branchRCL_3
changeset 9 667e88a979d7
parent 8 fa9941cf3867
equal deleted inserted replaced
8:fa9941cf3867 9:667e88a979d7
     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".
   382 
   382 
   383 // -----------------------------------------------------------------------------
   383 // -----------------------------------------------------------------------------
   384 // RFeatMgrClient::ReRequestNotification(TUid&, TRequestStatus&)
   384 // RFeatMgrClient::ReRequestNotification(TUid&, TRequestStatus&)
   385 // -----------------------------------------------------------------------------
   385 // -----------------------------------------------------------------------------
   386 //
   386 //
   387 TInt RFeatMgrClient::ReRequestNotification( TUid& aFeatUid, TRequestStatus& aStatus )
   387 void RFeatMgrClient::ReRequestNotification( TUid& aFeatUid, TRequestStatus& aStatus )
   388     {
   388     {
   389     TPckgBuf<TInt> pckg;
   389     TPckgBuf<TInt> pckg;
   390     TInt retval( KErrNone );
   390     iFeaturePckg.Set( (TUint8*) &aFeatUid.iUid, sizeof(TUid), sizeof(TUid) );
   391     
   391 	  TIpcArgs args( &iFeaturePckg );
   392 	iFeaturePckg.Set( (TUint8*) &aFeatUid.iUid, sizeof(TUid), sizeof(TUid) );
   392   	SendReceive( EFeatMgrReqNotify, args, aStatus );
   393 	TIpcArgs args( &iFeaturePckg );
       
   394 	SendReceive( EFeatMgrReqNotify, args, aStatus );
       
   395 
       
   396     return retval;
       
   397     }
   393     }
   398 
   394 
   399 // -----------------------------------------------------------------------------
   395 // -----------------------------------------------------------------------------
   400 // RFeatMgrClient::RequestNotification(RFeatureUidArray&, TUid&, TRequestStatus&)
   396 // RFeatMgrClient::RequestNotification(RFeatureUidArray&, TUid&, TRequestStatus&)
   401 // -----------------------------------------------------------------------------
   397 // -----------------------------------------------------------------------------
   615 // ========================== OTHER EXPORTED FUNCTIONS =========================
   611 // ========================== OTHER EXPORTED FUNCTIONS =========================
   616 
   612 
   617 // DEBUG only API functions
   613 // DEBUG only API functions
   618 
   614 
   619 #ifdef EXTENDED_FEATURE_MANAGER_TEST
   615 #ifdef EXTENDED_FEATURE_MANAGER_TEST
       
   616 
       
   617 #pragma BullseyeCoverage off
       
   618 
   620 /** 
   619 /** 
   621 */
   620 */
   622 void RFeatMgrClient::ResourceMark()
   621 void RFeatMgrClient::ResourceMark()
   623     {
   622     {
   624     (void)SendReceive(EFeatMgrResourceMark);
   623     (void)SendReceive(EFeatMgrResourceMark);
   683 
   682 
   684     INFO_LOG1( "RFeatMgrClient::CountAllocCells - return %d", sizePckg() );
   683     INFO_LOG1( "RFeatMgrClient::CountAllocCells - return %d", sizePckg() );
   685     return sizePckg();
   684     return sizePckg();
   686     }
   685     }
   687 
   686 
       
   687 #pragma BullseyeCoverage on
       
   688 
   688 #endif
   689 #endif
   689 
   690 
   690 //  End of File  
   691 //  End of File