fep/aknfep/peninputplugins/peninputimepluginitut/src/pluginfepmanagerbase.cpp
branchRCL_3
changeset 56 8152b1f1763a
parent 44 ecbabf52600f
--- a/fep/aknfep/peninputplugins/peninputimepluginitut/src/pluginfepmanagerbase.cpp	Wed Sep 15 12:34:44 2010 +0300
+++ b/fep/aknfep/peninputplugins/peninputimepluginitut/src/pluginfepmanagerbase.cpp	Wed Oct 13 14:55:58 2010 +0300
@@ -220,10 +220,11 @@
             RArray<TInt> sizeArray;
             for (TInt i = 0; i < count; i++)
                 {
-				TInt size = (*listArray)[i].Size();
+                TInt size = (*listArray)[i].Size();
                 sizeArray.Append(size);
                 transferSize += size + sizeof(TInt);
                 }
+            transferSize += 4 * sizeof( TInt );
 
             HBufC8* buf = HBufC8::NewLC(transferSize);
             TPtr8 bufPtr = buf->Des();
@@ -242,14 +243,19 @@
                 const TUint16* piData = (*listArray)[i].Ptr();
                 writeStream.WriteL(piData, sizeArray[i] / 2);
                 }
-			
+            
+            writeStream.WriteInt32L( pCanData->iRect.iTl.iX );
+            writeStream.WriteInt32L( pCanData->iRect.iTl.iY );
+            writeStream.WriteInt32L( pCanData->iRect.iBr.iX );
+            writeStream.WriteInt32L( pCanData->iRect.iBr.iY );            
+            
             writeStream.CommitL();
         
             SendCommandToServer( aCommandId, bufPtr );
 
             sizeArray.Close();    
-			CleanupStack::PopAndDestroy(&writeStream);
-			CleanupStack::PopAndDestroy(buf);
+            CleanupStack::PopAndDestroy(&writeStream);
+            CleanupStack::PopAndDestroy(buf);
             
             }
             break;