messagingapp/msgappfw/server/inc/mcscontactsmanagerobserver.h
changeset 31 ebfee66fde93
parent 23 238255e8b033
equal deleted inserted replaced
30:6a20128ce557 31:ebfee66fde93
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Event interface for the contacts manager.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_CS_CONTACTS_MANAGER_OBSERVER_H
       
    20 #define M_CS_CONTACTS_MANAGER_OBSERVER_H
       
    21 
       
    22 class CCsContactDetail;
       
    23 
       
    24 /**
       
    25  * This observer interface is the internal callback interface between the
       
    26  * contacts manager and conversation server.
       
    27  *
       
    28  *  @since S60 v10.1
       
    29  */
       
    30 class MCsContactsManagerObserver 
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36      * HandleAddContact
       
    37      * This asynchronous callback is invoked when the new contact is added.
       
    38      */ 
       
    39     virtual void HandleAddContact(CCsContactDetail& aDetail) = 0;
       
    40 
       
    41     /**
       
    42      * HandleContactChange
       
    43      * This asynchronous callback is invoked when the contact is changed.
       
    44      */
       
    45     virtual void HandleContactChange(CCsContactDetail& aDetail) = 0;
       
    46     
       
    47     /**
       
    48      * HandleDeleteContact
       
    49      * This asynchronous callback is invoked when the contact is deleted.
       
    50      */
       
    51     virtual void HandleDeleteContact(CCsContactDetail& aDetail) = 0;
       
    52 
       
    53     };
       
    54 
       
    55 
       
    56 #endif // M_CS_CONTACTS_MANAGER_OBSERVER_H