emailservices/emailstore/base_plugin/src/BaseMrInfoObject.cpp
branchRCL_3
changeset 25 3533d4323edc
parent 24 d189ee25cf9d
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
    19 
    20 
    20 
    21 #include "BaseMrInfoObject.h"
    21 #include "basemrinfoobject.h"
    22 #include "BasePlugin.h"
    22 #include "baseplugin.h"
    23 
    23 
    24 
    24 
    25 /**
    25 /**
    26  * Defaults: Method of EMRMethodRequest.
    26  * Defaults: Method of EMRMethodRequest.
    27  */
    27  */
    82     
    82     
    83     iSequenceNumber = aMrInfo.MRSequenceNumberL();
    83     iSequenceNumber = aMrInfo.MRSequenceNumberL();
    84     iPriority = aMrInfo.PriorityL();
    84     iPriority = aMrInfo.PriorityL();
    85 
    85 
    86     iOrganizer = CBaseMrAttendee::NewL( aMrInfo.MROrganizerL() );
    86     iOrganizer = CBaseMrAttendee::NewL( aMrInfo.MROrganizerL() );
    87 //<qmail> Commented out in 10.1
    87     
    88     
    88     RPointerArray<MMRAttendee>& attendees = aMrInfo.AttendeesL();
    89     /*RPointerArray<MMRAttendee>& attendees = aMrInfo.AttendeesL();
       
    90     TInt count = attendees.Count();
    89     TInt count = attendees.Count();
    91     for ( TInt i = 0; i < count; i++ )
    90     for ( TInt i = 0; i < count; i++ )
    92         {
    91         {
    93         MMRAttendee* attendee = CBaseMrAttendee::NewL( *(attendees[i]) );
    92         MMRAttendee* attendee = CBaseMrAttendee::NewL( *(attendees[i]) );
    94         CleanupStack::PushL( attendee );
    93         CleanupStack::PushL( attendee );
    95         iAttendees.AppendL( attendee );
    94         iAttendees.AppendL( attendee );
    96         CleanupStack::Pop( attendee );
    95         CleanupStack::Pop( attendee );
    97         }*/
    96         }
    98 
       
    99 //</qmail>
       
   100     
    97     
   101     iRrule = CBaseMrRecurrenceRule::NewL( aMrInfo.RecurrenceRuleL() );
    98     iRrule = CBaseMrRecurrenceRule::NewL( aMrInfo.RecurrenceRuleL() );
   102     /**@ copy construction for iExceptions, iAttachments.*/
    99     /**@ copy construction for iExceptions, iAttachments.*/
   103     }
   100     }
   104 
   101