homescreensrv_plat/sapi_homescreenplugin/hspsservice/src/hspspersonalisationservice.cpp
branchRCL_3
changeset 51 15e4dd19031c
parent 4 1a2a00e78665
child 78 1b207dd38b72
equal deleted inserted replaced
19:502e5d91ad42 51:15e4dd19031c
    74 // -----------------------------------------------------------------------------
    74 // -----------------------------------------------------------------------------
    75 EXPORT_C void CHspsPersonalisationService::GetPluginListL(
    75 EXPORT_C void CHspsPersonalisationService::GetPluginListL(
    76     TDesC8& aInterface,
    76     TDesC8& aInterface,
    77     TDesC8& aType,
    77     TDesC8& aType,
    78     TUint32 aFamily,
    78     TUint32 aFamily,
       
    79     const TBool aCopyLogos,
    79     CArrayPtrFlat<ChspsODT>& aList )
    80     CArrayPtrFlat<ChspsODT>& aList )
    80     {
    81     {
    81     // Setup a mask for finding plugins with defined interface 
    82     // Setup a mask for finding plugins with defined interface 
    82     ChspsODT *searchMask = ChspsODT::NewL();
    83     ChspsODT *searchMask = ChspsODT::NewL();
    83     CleanupStack::PushL( searchMask );        
    84     CleanupStack::PushL( searchMask );        
    94 
    95 
    95     searchMask->SetFamily( aFamily );
    96     searchMask->SetFamily( aFamily );
    96     
    97     
    97     TInt err = iHspsClient->hspsGetHeaders( 
    98     TInt err = iHspsClient->hspsGetHeaders( 
    98         *searchMask, 
    99         *searchMask, 
       
   100         aCopyLogos,
    99         aList );
   101         aList );
   100     
   102     
   101     CleanupStack::PopAndDestroy( searchMask );
   103     CleanupStack::PopAndDestroy( searchMask );
   102     
   104     
   103     if ( err == KErrNotFound )
   105     if ( err == KErrNotFound )
   268     searchMask->SetFamily( aFamily );
   270     searchMask->SetFamily( aFamily );
   269 
   271 
   270     // Get application configurations
   272     // Get application configurations
   271     User::LeaveIfError( iHspsClient->hspsGetHeaders( 
   273     User::LeaveIfError( iHspsClient->hspsGetHeaders( 
   272         *searchMask, 
   274         *searchMask, 
       
   275         EFalse,
   273         aList ) );
   276         aList ) );
   274 
   277 
   275     CleanupStack::PopAndDestroy( searchMask );
   278     CleanupStack::PopAndDestroy( searchMask );
   276 
   279 
   277     }
   280     }