multimediacommsengine/mmcecli/inc/mceeventmanagerreceiver.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 CMCEEVENTMANAGERRECEIVER_H
       
    23 #define CMCEEVENTMANAGERRECEIVER_H
       
    24 
       
    25 #include "mceitcreceiverbase.h"
       
    26 #include "mcedefs.h"
       
    27 
       
    28 class RMce;
       
    29 class MMceEventObserver;
       
    30 class CMceManager;
       
    31 
       
    32 class CMceEventManagerReceiver : public CMceItcReceiverBase
       
    33 	{
       
    34 	public:
       
    35 
       
    36 		CMceEventManagerReceiver( RMce& aMce, 
       
    37 							CMceManager& aManager);
       
    38                         
       
    39 		~CMceEventManagerReceiver();
       
    40 
       
    41 	private: // From CMceItcReceiverBase
       
    42 
       
    43 		void IncomingEventL(TMceItcCallBack aEvent, TMceIds& aIds, 
       
    44 									 const TDesC8& aContext );
       
    45 									 
       
    46 		void IncomingEventL(TMceItcCallBack aEvent, TMceIds& aIds, 
       
    47 									 const TDesC8& aContext, 
       
    48 									 HBufC8* aContent);
       
    49 									
       
    50 		void IncomingEventL(TMceItcCallBack aEvent, TMceIds& aIds);
       
    51 
       
    52 		void ErrorOccuredL (TMceIds& aIds, TInt aError);
       
    53     
       
    54 	private:
       
    55 
       
    56 		void HandleIncomingEventL ( const TDesC8& aContext, 
       
    57 									HBufC8* aContent,
       
    58 									TMceIds& aIds );
       
    59         
       
    60 	private: // Data
       
    61 		
       
    62 		CMceManager& iManager;
       
    63 		MMceEventObserver* iObserver;
       
    64        
       
    65 	//for testing
       
    66 
       
    67 		MCE_UNIT_TEST_DEFS
       
    68 	};
       
    69 
       
    70 #endif
       
    71 
       
    72 // End of File