multimediacommsengine/mmcecli/inc/mceeventreceiver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef CMCEEVENTRECEIVER_H
       
    23 #define CMCEEVENTRECEIVER_H
       
    24 
       
    25 #include "mceitcreceiverbase.h"
       
    26 class CMceEvent;
       
    27 class MMceEventObserver;
       
    28 class MMceReferObserver;
       
    29 class MMCESubscribeObserver;
       
    30 class RMce;
       
    31 class CMceMsgBase;
       
    32 
       
    33 
       
    34 class CMceEventReceiver : public CMceItcReceiverBase
       
    35 	{
       
    36 	public:
       
    37 
       
    38 		CMceEventReceiver(RMce& aMce, CMceEvent& aEvent );
       
    39 
       
    40 		CMceEventReceiver();
       
    41 
       
    42 		~CMceEventReceiver ();
       
    43 
       
    44 	private://from CMceItcReceiverBase
       
    45 
       
    46 		void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds, 
       
    47 		                             const TDesC8& aContext );
       
    48 		                             
       
    49 		void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds, 
       
    50 		                             const TDesC8& aContext, 
       
    51 		                             HBufC8* aContent );
       
    52 		                             
       
    53 		void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds );
       
    54 
       
    55 	    void ErrorOccuredL ( TMceIds& aIds, TInt aError);
       
    56 
       
    57 	private:// methods
       
    58 
       
    59 	    /*void HandleSessionStateChangedL( TMceIds& aIds, 
       
    60 	                                     const TDesC8& aContext, 
       
    61 	                                     HBufC8* aContent );
       
    62 	    */
       
    63     	CMceMsgBase* DecodeMessageLC( TMceIds& aIds, 
       
    64                                   const TDesC8& aContext );
       
    65                                   
       
    66 	private:// data
       
    67 
       
    68 	    CMceEvent& iEvent;
       
    69 	    
       
    70 	    // For testing
       
    71 	    MCE_UNIT_TEST_DEFS
       
    72         
       
    73 
       
    74 	};
       
    75 
       
    76 #endif // end of CMCESESSIONRECEIVER_H
       
    77 
       
    78 // End of File