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