wvuing/wvuieng/EngInc/MCAMessageErrorObserver.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Observer interface to handle error notifications
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MCAMESSAGEERROROBSERVER_H__
       
    20 #define __MCAMESSAGEERROROBSERVER_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 //	FORWARD CLASS DECLERATIONS
       
    26 class MCAMessage;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  Observer interface to handle error notifications
       
    32  *
       
    33  *  @lib CAEngine.dll
       
    34  *  @since 3.0
       
    35  */
       
    36 class MCAMessageErrorObserver
       
    37     {
       
    38     public: // Interface
       
    39 
       
    40         /**
       
    41          * Handle events.
       
    42          * @param aMessage, Event occurred because of message
       
    43          */
       
    44         virtual void HandleMessageError( TInt aError, MCAMessage* aMessage ) = 0;
       
    45 
       
    46     protected: // For protection.
       
    47 
       
    48         /**
       
    49          * Destructor
       
    50          */
       
    51         virtual ~MCAMessageErrorObserver() {}
       
    52     };
       
    53 
       
    54 #endif      // __MCAMESSAGEERROROBSERVER_H__
       
    55 
       
    56 // End of File