mmappfw_plat/mpx_common_api/inc/mpxmessageobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2006 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:  message observer
       
    15 *
       
    16 */
       
    17 
       
    18  
       
    19 
       
    20 #ifndef MMPXMESSAGEOBSERVER_H
       
    21 #define MMPXMESSAGEOBSERVER_H
       
    22 
       
    23 
       
    24 /**
       
    25 *  Interface for receiving events.
       
    26 *
       
    27 *  @lib mpxcommon.lib
       
    28 */ 
       
    29 NONSHARABLE_CLASS(MMPXMessageObserver)
       
    30     {
       
    31 public: 
       
    32     /**
       
    33     *  Message received.
       
    34     *
       
    35     *  @since S60 3.2.3
       
    36     *  @param aMsgData message data 
       
    37     *  @param aError error code
       
    38     */
       
    39     virtual void MessageReceived(TInt aMsgData, TInt aError)=0;
       
    40     };
       
    41 
       
    42     
       
    43 #endif // MMPXMESSAGEOBSERVER_H