2 * Copyright (c) 2009 - 2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Interface header for event listener.
18 #ifndef MEMAILOBSERVERLISTENER_H
19 #define MEMAILOBSERVERLISTENER_H
21 namespace EmailInterface {
23 // Forward declarations
24 class MEmailObserverPlugin;
28 * Interface class that is implemented by the plugin instantiator
30 class MEmailObserverListener
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
39 virtual void EmailObserverEvent( MEmailData& aEmailData ) = 0;
44 #endif // MEMAILOBSERVERLISTENER_H