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); |