telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/inc/cmockphonemesshandler.h
changeset 0 3553901f7fa8
child 18 17af172ffa5f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2007-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 #ifndef CMockPhoneMessHandler_H
       
    17 #define CMockPhoneMessHandler_H
       
    18 
       
    19 #include <mmlist.h>
       
    20 #include "mmockmesshandlerbase.h"
       
    21 
       
    22 class CMmMessageRouter;
       
    23 class CMmDataPackage;
       
    24 class CMobilePhoneCFList;
       
    25 class CMobilePhoneCWList;
       
    26 
       
    27 class CMockPhoneMessHandler : public CBase, public MMockMessHandlerBase
       
    28     {
       
    29 public: 
       
    30 	static CMockPhoneMessHandler* NewL(CMmMessageRouter* aMessageRouter);
       
    31 	virtual ~CMockPhoneMessHandler();
       
    32 
       
    33 public: 
       
    34   	virtual TInt ExtFuncL(TInt aIpc,const CMmDataPackage* aDataPackage);
       
    35 	virtual void CompleteL(TInt aIpc, const TDesC8& aData, TInt aResult);
       
    36      
       
    37 private: 
       
    38  	CMockPhoneMessHandler(CMmMessageRouter* aMessageRouter);
       
    39 	void ConstructL();
       
    40         
       
    41 private:
       
    42     CMmMessageRouter* iMessageRouter;
       
    43     RPointerArray<RMobilePhone::CImsAuthorizationInfoV5> iAuthorizationInfos;
       
    44     RPointerArray<CMobilePhoneCBList> iCBLists;
       
    45     RPointerArray<CMobilePhoneCFList> iCFLists;
       
    46     RPointerArray<CMobilePhoneCWList> iCWLists;
       
    47     RPointerArray<RMobilePhone::TMobilePhoneVoicemailIdsV3> iVoicemailIds;
       
    48     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV1> iNetworkInfoV1List;
       
    49     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV2> iNetworkInfoV2List;
       
    50     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV5> iNetworkInfoV5List;
       
    51     };
       
    52 
       
    53 #endif // CMockPhoneMessHandler_H
       
    54