messagingapp/msgappfw/server/src/ccsconversationevent.cpp
changeset 44 36f374c67aa8
parent 23 238255e8b033
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
    29 // ----------------------------------------------------------------------------
    29 // ----------------------------------------------------------------------------
    30 // CCsConversationEvent::CCsConversationEvent
    30 // CCsConversationEvent::CCsConversationEvent
    31 // Default constructor
    31 // Default constructor
    32 // ----------------------------------------------------------------------------
    32 // ----------------------------------------------------------------------------
    33 CCsConversationEvent::CCsConversationEvent()
    33 CCsConversationEvent::CCsConversationEvent()
       
    34     :iClientConversation(NULL),
       
    35     iEvent(KConversationEventNone)
    34     {
    36     {
    35     }
    37     }
    36 
    38 
    37 // ----------------------------------------------------------------------------
    39 // ----------------------------------------------------------------------------
    38 // CCsConversationEvent::ConstructL
    40 // CCsConversationEvent::ConstructL
    39 // Two phase construction
    41 // Two phase construction
    40 // ----------------------------------------------------------------------------
    42 // ----------------------------------------------------------------------------
    41 void CCsConversationEvent::ConstructL()
    43 void CCsConversationEvent::ConstructL()
    42     {
    44     {
    43     iClientConversation = NULL;
       
    44     iEvent = KConversationEventNone;
       
    45     }
    45     }
    46 
    46 
    47 // ----------------------------------------------------------------------------
    47 // ----------------------------------------------------------------------------
    48 // CCsConversationEvent::NewL
    48 // CCsConversationEvent::NewL
    49 // Two Phase constructor
    49 // Two Phase constructor
   162     {
   162     {
   163     return iEvent & KConversationListEventUpdate;
   163     return iEvent & KConversationListEventUpdate;
   164     }
   164     }
   165 
   165 
   166 // ----------------------------------------------------------------------------
   166 // ----------------------------------------------------------------------------
       
   167 // CCsConversationEvent::IsPartialDeleteConversationListEventSet
       
   168 // ----------------------------------------------------------------------------
       
   169 TBool CCsConversationEvent::IsPartialDeleteConversationListEventSet() const
       
   170     {
       
   171     return iEvent & KConversationListEventPartialDelete;
       
   172     }
       
   173 // ----------------------------------------------------------------------------
   167 // CCsNotifyConversationEvent::IsNewConversationEventSet
   174 // CCsNotifyConversationEvent::IsNewConversationEventSet
   168 // ----------------------------------------------------------------------------
   175 // ----------------------------------------------------------------------------
   169 TBool CCsConversationEvent::IsNewConversationEventSet() const
   176 TBool CCsConversationEvent::IsNewConversationEventSet() const
   170     {
   177     {
   171     return iEvent & KConversationEventNew;
   178     return iEvent & KConversationEventNew;