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