meetingrequest/mrgui/inc/mesmrfieldeventobserver.h
changeset 0 8466d47a6819
child 12 4ce476e64c59
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-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: This file defines class MESMRFieldEventObserver.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MESMRFIELDEVENTOBSERVER_H
       
    21 #define MESMRFIELDEVENTOBSERVER_H
       
    22 
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 class MESMRFieldEvent;
       
    27 
       
    28 /**
       
    29  *  MESMRFieldEventObserver defines an interface for observing events
       
    30  *  from fields.
       
    31  *
       
    32  *  @lib esmrfieldbuildercommon.lib
       
    33  */
       
    34 class MESMRFieldEventObserver
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Event notification function.
       
    41      *
       
    42      * @param aEvent the event from field
       
    43      */
       
    44     virtual void HandleFieldEventL( const MESMRFieldEvent& aEvent ) = 0;
       
    45 
       
    46 protected:
       
    47 
       
    48     virtual ~MESMRFieldEventObserver() {}
       
    49 
       
    50     };
       
    51 
       
    52 
       
    53 #endif // MESMRFIELDEVENTOBSERVER_H