telephonyserverplugins/ctsydispatchlayer/test/mockltsy_under_ctsydispatch/inc/cmockpacketservicesmesshandler.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef CMOCKPACKETSERVICESMESSHANDLER_H
       
    22 #define CMOCKPACKETSERVICESMESSHANDLER_H
       
    23 
       
    24 #include "mmockmesshandlerbase.h"
       
    25 #include "config.h"
       
    26 
       
    27 class CCtsyDispatcherCallback;
       
    28 class CMockLtsyEngine;
       
    29 
       
    30 class CMockPacketServicesMessHandler : public CBase, public MMockMessHandlerBase
       
    31     {
       
    32 public: 
       
    33 	static CMockPacketServicesMessHandler* NewL(CMockLtsyEngine& aEngine, CCtsyDispatcherCallback& aCallback);
       
    34 	virtual ~CMockPacketServicesMessHandler();
       
    35 
       
    36 public: //from MMmMessHandlerBase
       
    37   	TInt ExtFuncL(TInt aInterfaceId,VA_LIST& aList);
       
    38   	
       
    39 public: //from MMockMessHandlerBase
       
    40 	  virtual void CompleteL(TInt aIpc, const TDesC8& aData, TInt aResult);
       
    41 	  virtual TBool IsHandlerForApi(TInt aApiId);
       
    42      
       
    43 private: 
       
    44  	CMockPacketServicesMessHandler(CMockLtsyEngine& aEngine, CCtsyDispatcherCallback& aCallback); 	 	
       
    45 	void ConstructL();
       
    46         
       
    47 private:
       
    48 	CMockLtsyEngine& iMockLtsyEngine;
       
    49     CCtsyDispatcherCallback& iCompletionCallback;
       
    50     TConfig iConfig;
       
    51     
       
    52     }; // class CMockPacketServicesMessHandler
       
    53 
       
    54 #endif // CMOCKPACKETSERVICESMESSHANDLER_H
       
    55