mpserviceplugins/mpxsqlitedbhgplugin/src/mpxdbplugin.cpp
changeset 42 79c49924ae23
parent 41 ea59c434026a
child 45 612c4815aebe
child 48 af3740e3753f
equal deleted inserted replaced
41:ea59c434026a 42:79c49924ae23
  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