epoc32/include/app/memailobserverlistener.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2009 - 2009 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:  Interface header for event listener.
    15 *
    16 */
    17 
    18 #ifndef MEMAILOBSERVERLISTENER_H
    19 #define MEMAILOBSERVERLISTENER_H
    20 
    21 namespace EmailInterface {
    22 
    23 // Forward declarations
    24 class MEmailObserverPlugin;
    25 class MEmailData;
    26 
    27 /**
    28  * Interface class that is implemented by the plugin instantiator
    29  */
    30 class MEmailObserverListener
    31 {
    32     public:
    33     /**
    34      * Client callback routine. Client should override this method to implement
    35      * event handling routine.
    36      * Plugin calls this when it wishes to update data on the widget
    37      * @param aEmailData reference to email data provided by the plugin
    38      */
    39     virtual void EmailObserverEvent( MEmailData& aEmailData ) = 0;
    40 };
    41 
    42 } // namespace
    43 
    44 #endif // MEMAILOBSERVERLISTENER_H