emailservices/emailframework/inc/MFSMailEventObserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 09:37:47 +0300
changeset 59 16ed8d08d0b1
parent 20 ecc8def7944a
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2007-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:  defines framework event observer
*
*/


#ifndef MFSMAILEVENTOBSERVER_H
#define MFSMAILEVENTOBSERVER_H

//  INCLUDES
#include <e32std.h>
#include <e32base.h>
//<cmail>
#include "CFSMailCommon.h"
//</cmail>

/**
 *  email framework event observer
 *
 *  @lib FSFWCommonLib
 *  @since S60 v3.1
 */
 class MFSMailEventObserver
    {
    public:

    /**
     * event from plugin
     *
     * @param aEvent one of pre-defined events in TFSMailEvent
     * @param aMailbox maibox related for this event
     * note : if mailbox id is null id, event is plugin level ie. corcerns all
     * mailboxes
     * @param aParam1 intepretation is event specific (see TFSMailEvent descriptions)
     * @param aParam2 intepretation is event specific (see TFSMailEvent descriptions)
     * @param aParam3 intepretation is event specific (see TFSMailEvent descriptions)
     */
     virtual void EventL(TFSMailEvent aEvent, TFSMailMsgId aMailbox, TAny* aParam1, TAny* aParam2, TAny* aParam3) = 0;

     };

#endif  // MFSMAILEVENTOBSERVER_H

// End of File