phoneuis/easydialing/edcontactor/inc/medcontactorobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:50:26 +0200
branchRCL_3
changeset 9 8871b09be73b
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2010 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:  Class implementing the abstract contactor observer class.
*
*/

#ifndef MEDCONTACTOROBSERVER_H_
#define MEDCONTACTOROBSERVER_H_

/**
 * MEDContactorObserver
 * 
 * Observer class for contactor module.
 * 
 * 
 * 
 */

class MEDContactorObserver 
    {
    
public:
    
    /*
     * Enum for communication events.
     */
    typedef enum TEvent_enum
        {
        /*
         * ECommunicationStarted
         * Used when communication was normally started.
         */
        ECommunicationStarted = 1,
        
        /*
         * ECommunicationCancelled
         * Used when
         * 1. User cancelled communication when choosing phone number, email, etc.
         * 2. When there was no appropriate field in the contact.
         */
        ECommunicationCancelled
        
        } TEvent;
    
    virtual void InformContactorEvent( TEvent aEvent ) = 0;
    };



#endif /* MEDCONTACTOROBSERVER_H_ */