homescreenpluginsrv/hspsmanager/client/hspsclient.cpp
branchRCL_3
changeset 51 15e4dd19031c
parent 4 1a2a00e78665
child 78 1b207dd38b72
--- a/homescreenpluginsrv/hspsmanager/client/hspsclient.cpp	Mon Mar 15 12:41:53 2010 +0200
+++ b/homescreenpluginsrv/hspsmanager/client/hspsclient.cpp	Wed Mar 31 22:04:35 2010 +0300
@@ -236,8 +236,10 @@
 // (other items were commented in a header).
 // -----------------------------------------------------------------------------
 //
-EXPORT_C ThspsServiceCompletedMessage ChspsClient::hspsGetListHeaders( const ChspsODT& aSearchMask, 
-                                CArrayPtrFlat<ChspsODT>& aHeaderList )
+EXPORT_C ThspsServiceCompletedMessage ChspsClient::hspsGetListHeaders( 
+        const ChspsODT& aSearchMask,
+        const TBool aCopyLogos,
+        CArrayPtrFlat<ChspsODT>& aHeaderList )
     {
     ThspsServiceCompletedMessage ret = EhspsServiceRequestError; 
     TBuf8<KMaxHeaderDataLength8> headerData;
@@ -263,8 +265,11 @@
             // cancel previous subscription first
             hspsCancelGetListHeaders();
             }        
-        ret = (ThspsServiceCompletedMessage)iSession.GetListHeaders(iResultData, 
-                                                             iSearchMaskData->Des(),headerData );
+        ret = (ThspsServiceCompletedMessage)iSession.GetListHeaders(
+                iResultData, 
+                iSearchMaskData->Des(),
+                aCopyLogos,
+                headerData );
 
 #ifdef HSPS_LOG_ACTIVE
         if( iLogBus )
@@ -534,8 +539,10 @@
 // (other items were commented in a header).
 // -----------------------------------------------------------------------------
 //
-EXPORT_C TInt ChspsClient::hspsGetHeaders( const ChspsODT& aSearchMask, 
-                                CArrayPtrFlat<ChspsODT>& aHeaderList )
+EXPORT_C TInt ChspsClient::hspsGetHeaders( 
+        const ChspsODT& aSearchMask,
+        const TBool aCopyLogos,
+        CArrayPtrFlat<ChspsODT>& aHeaderList )
     {
     iHeaderList = &aHeaderList;
     // Convert search mask ODT to binary stream
@@ -553,6 +560,7 @@
             ( ThspsServiceCompletedMessage )iSession.GetListHeaders(
                 iResultData, 
                 iSearchMaskData->Des(),
+                aCopyLogos,
                 iHeaderData );
                 
         if ( ret == EhspsGetListHeadersSuccess )