messagingapp/msgappfw/server/inc/mcscontactsmanagerobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:28:39 +0300
changeset 70 a15d9966050f
parent 23 238255e8b033
permissions -rw-r--r--
Revision: 201035 Kit: 201037

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Event interface for the contacts manager.
 *
*/


#ifndef M_CS_CONTACTS_MANAGER_OBSERVER_H
#define M_CS_CONTACTS_MANAGER_OBSERVER_H

class CCsContactDetail;

/**
 * This observer interface is the internal callback interface between the
 * contacts manager and conversation server.
 *
 *  @since S60 v10.1
 */
class MCsContactsManagerObserver 
    {

public:

    /**
     * HandleAddContact
     * This asynchronous callback is invoked when the new contact is added.
     */ 
    virtual void HandleAddContact(CCsContactDetail& aDetail) = 0;

    /**
     * HandleContactChange
     * This asynchronous callback is invoked when the contact is changed.
     */
    virtual void HandleContactChange(CCsContactDetail& aDetail) = 0;
    
    /**
     * HandleDeleteContact
     * This asynchronous callback is invoked when the contact is deleted.
     */
    virtual void HandleDeleteContact(CCsContactDetail& aDetail) = 0;

    };


#endif // M_CS_CONTACTS_MANAGER_OBSERVER_H