emailservices/emailstore/base_plugin/src/baseplugintranslator.cpp
branchRCL_3
changeset 80 726fba06891a
parent 73 c8382f7b54ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
   494     if ( aCalendar.FindProperty( KMsgStorePropertyMrPriority, idx ) )
   494     if ( aCalendar.FindProperty( KMsgStorePropertyMrPriority, idx ) )
   495         {
   495         {
   496         TUint32 priority = aCalendar.PropertyValueUint32L( idx );
   496         TUint32 priority = aCalendar.PropertyValueUint32L( idx );
   497         mmrInfo->SetPriorityL( priority );
   497         mmrInfo->SetPriorityL( priority );
   498         }
   498         }
   499 
   499         
   500     //privacy/sensitivity
   500     /**@ privacy/sensitivity missing ? */
   501     idx = 0;
   501     /*idx = 0;
   502     if ( aCalendar.FindProperty( KMsgStorePropertyMrPrivate, idx ) )
   502     if ( aCalendar.FindProperty( KMsgStorePropertyMrPrivate, idx ) )
   503         {
   503         {
   504         TUint32 privacy = aCalendar.PropertyValueUint32L( idx );
   504         TBool private = aCalendar.PropertyValueBoolL( idx );
   505         mmrInfo->SetPrivacyL( static_cast<MMRInfoObject::TCalSensitivity>( privacy ) );
   505         }*/
   506         }
       
   507 
   506 
   508     //method.
   507     //method.
   509     idx = 0;
   508     idx = 0;
   510     if ( aCalendar.FindProperty( KMsgStorePropertyMrMethod, idx ) )
   509     if ( aCalendar.FindProperty( KMsgStorePropertyMrMethod, idx ) )
   511         {
   510         {
  1024 
  1023 
  1025     //priority.
  1024     //priority.
  1026     calendar->AddOrUpdatePropertyL(
  1025     calendar->AddOrUpdatePropertyL(
  1027         KMsgStorePropertyMrPriority, static_cast<TUint32>( aSrc.PriorityL() ) );
  1026         KMsgStorePropertyMrPriority, static_cast<TUint32>( aSrc.PriorityL() ) );
  1028 
  1027 
  1029     //privacy/sensitivity
  1028     /**@ privacy/sensitivity missing ? */
  1030     calendar->AddOrUpdatePropertyL(
  1029     /*idx = 0;
  1031             KMsgStorePropertyMrPrivate, static_cast<TUint32>( aSrc.PrivacyL() ) );
  1030     if ( aCalendar.FindProperty( KMsgStorePropertyMrPrivate, idx ) )
       
  1031         {
       
  1032         TBool private = aCalendar.PropertyValueBoolL( idx );
       
  1033         }*/
  1032 
  1034 
  1033     //recurrent count.
  1035     //recurrent count.
  1034     calendar->AddOrUpdatePropertyL(
  1036     calendar->AddOrUpdatePropertyL(
  1035         KMsgStorePropertyMrRecurCount, static_cast<TUint32>( rRule.RecurrentCount() ) );
  1037         KMsgStorePropertyMrRecurCount, static_cast<TUint32>( rRule.RecurrentCount() ) );
  1036 
  1038