calendarui/server/CalenSvr/src/CalenServer.cpp
branchRCL_3
changeset 18 d68a4b5d5885
parent 15 9711e452b5e9
child 28 96907930389d
equal deleted inserted replaced
16:55d60436f00b 18:d68a4b5d5885
    51 
    51 
    52 
    52 
    53 const TInt KComma( ',' );
    53 const TInt KComma( ',' );
    54 
    54 
    55 _LIT(KPersonal,"Personal");
    55 _LIT(KPersonal,"Personal");
    56 _LIT(KFamily,"Family");
    56 
    57 _LIT(KFriends,"Friends");
       
    58 
    57 
    59 // ================= MEMBER FUNCTIONS =======================
    58 // ================= MEMBER FUNCTIONS =======================
    60 //
    59 //
    61 // Construction and destruction 
    60 // Construction and destruction 
    62 //
    61 //
   380     // personal
   379     // personal
   381          HBufC* personalBuffer = KPersonal().AllocLC();    
   380          HBufC* personalBuffer = KPersonal().AllocLC();    
   382         aCalendarNames.AppendL( personalBuffer->Des() );    
   381         aCalendarNames.AppendL( personalBuffer->Des() );    
   383        CleanupStack::PopAndDestroy( personalBuffer );
   382        CleanupStack::PopAndDestroy( personalBuffer );
   384        
   383        
   385     // famliy
   384    
   386         HBufC* familyBuffer = KFamily().AllocLC();    
       
   387        aCalendarNames.AppendL( familyBuffer->Des() );    
       
   388        CleanupStack::PopAndDestroy( familyBuffer );
       
   389        
       
   390     //friends
       
   391        HBufC* friendBuffer = KFriends().AllocLC();    
       
   392       aCalendarNames.AppendL( friendBuffer->Des() );    
       
   393       CleanupStack::PopAndDestroy( friendBuffer );
       
   394    
   385    
   395     
   386     
   396     TRACE_EXIT_POINT;
   387     TRACE_EXIT_POINT;
   397     }
   388     }
   398 
   389