mpserviceplugins/mpxsqlitedbhgplugin/src/mpxdbplugin.cpp
changeset 38 b93f525c9244
parent 37 eb79a7c355bf
child 45 612c4815aebe
child 48 af3740e3753f
equal deleted inserted replaced
37:eb79a7c355bf 38:b93f525c9244
  4077 
  4077 
  4078     TInt offset = aCmd.ValueTObjectL<TInt>( KMPXCollectionCommandIdIncOpenLOffset );
  4078     TInt offset = aCmd.ValueTObjectL<TInt>( KMPXCollectionCommandIdIncOpenLOffset );
  4079     TInt numItems = aCmd.ValueTObjectL<TInt>( KMPXCollectionCommandIdIncOpenLNumItems );
  4079     TInt numItems = aCmd.ValueTObjectL<TInt>( KMPXCollectionCommandIdIncOpenLNumItems );
  4080 
  4080 
  4081     TReadDirection direction(EReadUnknown);
  4081     TReadDirection direction(EReadUnknown);
       
  4082 /*  Ascending and Decending reads are currently not used. We optimized for offset reads.
  4082     if( aCmd.IsSupported(KMPXCollectionCommandIdIncOpenLAscDsc) &&
  4083     if( aCmd.IsSupported(KMPXCollectionCommandIdIncOpenLAscDsc) &&
  4083         aCmd.IsSupported(KMPXCollectionCommandIdIncOpenLKeyItem) )
  4084         aCmd.IsSupported(KMPXCollectionCommandIdIncOpenLKeyItem) )
  4084         {
  4085         {
  4085         direction = aCmd.ValueTObjectL<TReadDirection>(KMPXCollectionCommandIdIncOpenLAscDsc);
  4086         direction = aCmd.ValueTObjectL<TReadDirection>(KMPXCollectionCommandIdIncOpenLAscDsc);
  4086         }
  4087         }
  4087 
  4088 */
  4088     CMPXCollectionPath* path =  aCmd.ValueCObjectL<CMPXCollectionPath>(KMPXCollectionCommandIdIncOpenLPath);
  4089     CMPXCollectionPath* path =  aCmd.ValueCObjectL<CMPXCollectionPath>(KMPXCollectionCommandIdIncOpenLPath);
  4089     CleanupStack::PushL( path );
  4090     CleanupStack::PushL( path );
  4090     MPX_DEBUG_PATH( *path );
  4091     MPX_DEBUG_PATH( *path );
  4091 
  4092 
  4092     // Switch on level and item selected
  4093     // Switch on level and item selected