telephonyserverplugins/ctsydispatchlayer/exportinc/cctsydispatchercallback.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 CCTSYDISPATCHERCALLBACK_H
       
    22 #define CCTSYDISPATCHERCALLBACK_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <ctsy/serviceapi/cmmutility.h>
       
    26 #include <ctsy/serviceapi/mmtsy_ipcdefs.h>
       
    27 #include <e32base.h>
       
    28 #include <e32std.h>
       
    29 #include <etelmm.h>
       
    30 #include <etelsat.h>
       
    31 #include <ctsy/ltsy/mltsydispatchinterface.h>
       
    32 #include <ctsy/ltsy/mltsydispatchphonebookinterface.h>
       
    33 #include <ctsy/ltsy/mltsydispatchsatinterface.h>
       
    34 #include <ctsy/ltsy/mltsydispatchsmsinterface.h>
       
    35 #include <ctsy/ltsy/mltsydispatchcellbroadcastinterface.h>
       
    36 #include <ctsy/ltsy/mltsydispatchsiminterface.h>
       
    37 
       
    38 #include <mmlist.h>
       
    39 #include <ctsy/rmmcustomapi.h>
       
    40 
       
    41 
       
    42 
       
    43 // FORWARD DECLARATIONS
       
    44 class TDispatcherHolder;
       
    45 
       
    46 /**
       
    47  * These are the IDs used to identify the callback indicators APIs
       
    48  * offered through CCtsyDispatcherCallback. There is one for each callback indicator API.
       
    49  *
       
    50  * The indicators are used as part of a MLtsyDispatchFactoryV1::IsCallbackIndicatorSupported
       
    51  * implementation to indicate whether the baseband supports indication.
       
    52  *
       
    53  * Each Id is identified by its funcitonal unit and group.  All Ids are contained within an enum whose name ends
       
    54  * with a group number e.g.  TLtsyDispatchCallControlCallbackIndicatorIds_Group1.
       
    55  *
       
    56  * When there is a need to identify >32 IDs for a functional unit a new group enum
       
    57  * must be created e.g.  TLtsyDispatchCallControlCallbackIndicatorIds_Group2
       
    58  *
       
    59  * @see MLtsyDispatchFactoryV1::IsCallbackIndicatorSupported()
       
    60  */
       
    61 
       
    62 /**
       
    63  * Call Control callback indicator IDs
       
    64  */
       
    65 enum TLtsyDispatchCallControlCallbackIndicatorIds_Group1
       
    66   {
       
    67   KLtsyDispatchCallControlNotifyCallStatusChangeIndId = 1,
       
    68   KLtsyDispatchCallControlReceiveUuiIndId = 2,
       
    69   KLtsyDispatchCallControlNotifyDataCallCapsChangeIndId = 4,
       
    70   KLtsyDispatchCallControlNotifyIncomingCallIndId = 8,
       
    71   KLtsyDispatchCallControlNotifyHscsdInfoChangeIndId = 16,
       
    72   KLtsyDispatchCallControlNotifyCallEventIndId = 32,
       
    73   KLtsyDispatchCallControlGetCallInfoIndId = 64,
       
    74   KLtsyDispatchCallControlNotifyIccCallForwardingStatusChangeIndId = 128
       
    75   										// = 256
       
    76   };
       
    77 
       
    78 /**
       
    79  * Call Control Multiparty callback indicator IDs
       
    80  */
       
    81 enum TLtsyDispatchCallControlMultipartyCallbackIndicatorIds_Group1
       
    82   {
       
    83   // = 1 Put multiparty indicator IDs here if some are added. Follow naming convention.
       
    84   // = 2
       
    85   // = 4
       
    86   };
       
    87 
       
    88 /**
       
    89  * Cell Broadcast callback indicator IDs
       
    90  */
       
    91 enum TLtsyDispatchCellBroadcastCallbackIndicatorIds_Group1
       
    92   {
       
    93   KLtsyDispatchCellBroadcastGsmBroadcastNotifyMessageReceivedIndId = 1,
       
    94   KLtsyDispatchCellBroadcastWcdmaBroadcastMessageReceivedIndId = 2,
       
    95   };
       
    96 
       
    97 /**
       
    98  * Packet Services callback indicator IDs
       
    99  */
       
   100 enum TLtsyDispatchPacketServicesCallbackIndicatorIds_Group1
       
   101   {
       
   102   KLtsyDispatchPacketServicesNotifyPacketAttachModeChangeIndId = 1,
       
   103   KLtsyDispatchPacketServicesNotifyQosProfileChangedIndId = 2,
       
   104   KLtsyDispatchPacketServicesNotifyRatTransferCapsChangeIndId = 4,
       
   105   KLtsyDispatchPacketServicesNotifyPacketMsClassChangeIndId = 8,
       
   106   KLtsyDispatchPacketServicesNotifyPacketDynamicCapsChangeIndId = 16,
       
   107   KLtsyDispatchPacketServicesNotifyPdpContextAddedIndId = 32,
       
   108   KLtsyDispatchPacketServicesNotifyNetworkInitiatedContextActivationRequestIndId = 64,
       
   109   KLtsyDispatchPacketServicesNotifyPdpContextConfigChangedIndId = 128,
       
   110   KLtsyDispatchPacketServicesNotifyPdpContextStatusChangeIndId = 256,
       
   111   KLtsyDispatchPacketServicesNotifyPacketNetworkRegistrationStatusIndId = 512,
       
   112   KLtsyDispatchPacketServicesNotifyMbmsContextConfigChangedIndId = 1024,
       
   113   KLtsyDispatchPacketServicesNotifyMbmsNetworkServiceStatusChangeIndId = 2048,
       
   114   KLtsyDispatchPacketServicesNotifyMbmsServiceAvailabilityChangeIndId = 4096
       
   115   };
       
   116 
       
   117 
       
   118 /**
       
   119  * Phonebook callback indicator IDs
       
   120  */
       
   121 enum TLtsyDispatchPhonebookCallbackIndicatorIds_Group1
       
   122   {
       
   123   KLtsyDispatchPhonebookStoreResetCacheIndId = 1,
       
   124   KLtsyDispatchPhonebookStoreGetFdnInfoIndId = 2
       
   125   };
       
   126 
       
   127 /**
       
   128  * Phonebook ON callback indicator IDs
       
   129  */
       
   130 enum TLtsyDispatchPhonebookONCallbackIndicatorIds_Group1
       
   131   {
       
   132   KLtsyDispatchPhonebookOnStoreReadAllIndId = 1,
       
   133   KLtsyDispatchPhonebookOnStoreWriteAllIndId = 2
       
   134   };
       
   135 
       
   136 /**
       
   137  * Phone callback indicator IDs
       
   138  */
       
   139 enum TLtsyDispatchPhoneCallbackIndicatorIds_Group1
       
   140   {
       
   141   KLtsyDispatchPhoneNotifyNetworkModeChangeIndId = 1,
       
   142   KLtsyDispatchPhoneNotifyEgprsInfoChangeIndId = 2,
       
   143   KLtsyDispatchPhoneNotifySignalStrengthChangeIndId = 4,
       
   144   KLtsyDispatchPhoneNotifyNetworkRegistrationStatusChangeIndId = 8,
       
   145   KLtsyDispatchPhoneNotifyNitzInfoChangeIndId = 16,
       
   146   KLtsyDispatchPhoneNotifyBatteryInfoChangeIndId = 32,
       
   147   KLtsyDispatchPhoneNotifyCurrentNetworkChangeIndId = 64,
       
   148   KLtsyDispatchPhoneNotifyRfStatusChangeIndId = 128,
       
   149   KLtsyDispatchPhoneNotifyCellInfoChangeIndId = 256
       
   150   };
       
   151 
       
   152 /**
       
   153  * SAT callback indicator IDs
       
   154  */
       
   155 enum TLtsyDispatchSatCallbackIndicatorIds_Group1
       
   156   {
       
   157   KLtsyDispatchSatUssdStatusIndId = 1,
       
   158   KLtsyDispatchSatNotifyCallControlRequestIndId = 2,
       
   159   KLtsyDispatchSatPcmdIndId = 4,
       
   160   KLtsyDispatchSatNotifyProactiveSimSessionEndIndId = 8,
       
   161   KLtsyDispatchSatNotifyLocalInfoIndId = 16,
       
   162   KLtsyDispatchSatTimeZoneIndId = 32,
       
   163   KLtsyDispatchSatAccessTechnologyChangeIndId = 64,
       
   164   KLtsyDispatchSatSetProactiveCommandOnGoingStatusIndId = 128,
       
   165   KLtsyDispatchSatCallConnectedIndId = 256,
       
   166   KLtsyDispatchSatSsStatusIndId = 512,
       
   167   KLtsyDispatchSatCallDisconnectedIndId = 1024,
       
   168   KLtsyDispatchSatMtCallIndId = 2048,
       
   169   KLtsyDispatchSatCheckAtkDataForAlphaIdIndId = 4096,
       
   170   KLtsyDispatchSatCreateEnvelopeIndId = 8192,
       
   171   KLtsyDispatchSatSmControlEnvelopeIndId = 16384,
       
   172   KLtsyDispatchSatImsiChangedIndId = 32768,
       
   173   KLtsyDispatchSatLocationStatusIndId = 65536,
       
   174   KLtsyDispatchSatRemoveEventListIndId = 131072,
       
   175   KLtsyDispatchSatRefreshIndId = 262144,
       
   176   KLtsyDispatchSatSmControlResponseIndId = 524288,
       
   177   };
       
   178 
       
   179 /**
       
   180  * Security callback indicator IDs
       
   181  */
       
   182 enum TLtsyDispatchSecurityCallbackIndicatorIds_Group1
       
   183   {
       
   184   KLtsyDispatchSecurityBootNotifySecurityReadyIndId = 1,
       
   185   KLtsyDispatchSecurityNotifySecurityEventIndId = 2,
       
   186   KLtsyDispatchSecurityNotifyLockInfoChangeIndId = 4
       
   187   };
       
   188 
       
   189 /**
       
   190  * SIM callback indicator IDs
       
   191  */
       
   192 enum TLtsyDispatchSimCallbackIndicatorIds_Group1
       
   193   {
       
   194   KLtsyDispatchSimRefreshSimFilesIndId = 1,
       
   195   KLtsyDispatchSimNotifyIccMessageWaitingIndicatorsChangeIndId = 2,
       
   196   KLtsyDispatchSimNotifyApnListChangeIndId = 4,
       
   197   KLtsyDispatchSimNotifyApnControlListServiceStatusChangeIndId = 8,
       
   198   KLtsyDispatchSimGetActiveIccApplicationTypeIndId = 16,
       
   199   };
       
   200 
       
   201 /**
       
   202  * Sms callback indicator IDs
       
   203  */
       
   204 enum TLtsyDispatchSmsCallbackIndicatorIds_Group1
       
   205   {
       
   206   KLtsyDispatchSmsNotifyReceiveSmsMessageIndId = 1
       
   207   };
       
   208 
       
   209 /**
       
   210  * Supplementary Services callback indicator IDs
       
   211  */
       
   212 enum TLtsyDispatchSupplementaryServicesCallbackIndicatorIds_Group1
       
   213   {
       
   214   KLtsyDispatchSupplementaryServicesNotifyCallBarringStatusChangeIndId = 1,
       
   215   KLtsyDispatchSupplementaryServicesReceiveUssdMessageIndId = 2,
       
   216   KLtsyDispatchSupplementaryServicesNotifyCallWaitingStatusChangeIndId = 4,
       
   217   KLtsyDispatchSupplementaryServicesNotifyCallForwardingStatusChangeIndId = 8,
       
   218   KLtsyDispatchSupplementaryServicesNotifyCallForwardingActiveIndId = 16,
       
   219   KLtsyDispatchSupplementaryServicesNotifySendNetworkServiceRequestIndId = 32
       
   220   };
       
   221 
       
   222 // CLASS DECLARATION
       
   223 
       
   224 /**
       
   225  * CCtsyDispatcherCallback
       
   226  *
       
   227  * This class is responsible for receiving completions from the Licensee LTSY and
       
   228  * forwarding them onto the relevant dispatcher object in the CTSY Dispatcher which
       
   229  * will handle the completion.
       
   230  */
       
   231 class CCtsyDispatcherCallback : public CBase
       
   232 	{
       
   233 public:
       
   234 
       
   235 	virtual ~CCtsyDispatcherCallback();
       
   236 	static CCtsyDispatcherCallback* NewL();
       
   237 	static CCtsyDispatcherCallback* NewLC();
       
   238 
       
   239 	// Callback functions called by the Licensee LTSY to complete a request Callback<something>Comp()
       
   240 	// or to send an unsolicited completion Callback<something>Ind().
       
   241 
       
   242 	// CallControl related callbacks
       
   243 	IMPORT_C void CallbackCallControlNotifyCallStatusChangeInd(TInt aError, TInt aCallId, RMobileCall::TMobileCallStatus aMobileCallStatus);
       
   244 	IMPORT_C void CallbackCallControlReceiveUuiInd(TInt aError, TInt aCallId, const TDesC& aCallUui);
       
   245 	IMPORT_C void CallbackCallControlNotifyDataCallCapsChangeInd(TInt aError, TInt aCallId, const RMobileCall::TMobileCallDataCapsV1& aMobileCallDataCaps);
       
   246 	IMPORT_C void CallbackCallControlNotifyIncomingCallInd(TInt aError, const RMobileCall::TMobileCallInfoV1& aCallInfo);
       
   247 	IMPORT_C void CallbackCallControlNotifyHscsdInfoChangeInd(TInt aError, TInt aCallId, const RMobileCall::TMobileCallHscsdInfoV8& aCallParams, const RMobileCall::TMobileCallDataCapsV1& aCallCaps);
       
   248 	IMPORT_C void CallbackCallControlNotifyCallEventInd(TInt aError, TInt aCallId, RMobileCall::TMobileCallEvent aCallEvent);
       
   249 	IMPORT_C void CallbackCallControlNotifyCallInfoChangeInd(TInt aError, const RMobileCall::TMobileCallInfoV1& aMobileCallInfo);
       
   250     IMPORT_C void CallbackCallControlRemoteAlertingToneChangeInd(TInt aError, RMmCustomAPI::TRemoteAlertingToneStatus aRemoteAlertingTone);
       
   251 	IMPORT_C void CallbackCallControlAnswerComp(TInt aError, TInt aCallId);
       
   252 	IMPORT_C void CallbackCallControlHoldComp(TInt aError, TInt aCallId);
       
   253 	IMPORT_C void CallbackCallControlDialEmergencyComp(TInt aError, TInt aCallId);
       
   254 	IMPORT_C void CallbackCallControlStopDtmfToneComp(TInt aError);
       
   255 	IMPORT_C void CallbackCallControlSetActiveAlsLineComp(TInt aError);
       
   256 	IMPORT_C void CallbackCallControlSendDtmfTonesCancelComp(TInt aError);
       
   257 	IMPORT_C void CallbackCallControlHangUpComp(TInt aError, TInt aCallId);
       
   258 	IMPORT_C void CallbackCallControlResumeComp(TInt aError, TInt aCallId);
       
   259 	IMPORT_C void CallbackCallControlSetDynamicHscsdParamsComp(TInt aError, TInt aCallId);
       
   260 	IMPORT_C void CallbackCallControlDialVoiceComp(TInt aError, TInt aCallId);
       
   261 	IMPORT_C void CallbackCallControlTransferComp(TInt aError);
       
   262 	IMPORT_C void CallbackCallControlSendDtmfTonesComp(TInt aError);
       
   263 	IMPORT_C void CallbackCallControlGetIdentityServiceStatusComp(TInt aError, RMobilePhone::TMobilePhoneIdServiceStatus aIdentityServiceStatus);
       
   264 	IMPORT_C void CallbackCallControlSwapComp(TInt aError);
       
   265 	IMPORT_C void CallbackCallControlStartDtmfToneComp(TInt aError);
       
   266 	IMPORT_C void CallbackCallControlGetActiveAlsLineComp(TInt aError, RMobilePhone::TMobilePhoneALSLine aAlsLine);
       
   267 	IMPORT_C void CallbackCallControlDialDataComp(TInt aError, TInt aCallId);
       
   268 	IMPORT_C void CallbackCallControlUpdateLifeTimerComp(TInt aError);
       
   269 	IMPORT_C void CallbackCallControlNotifyIccCallForwardingStatusChangeInd(TInt aError, const RMobilePhone::TMobileAddress& aCallForwardingNo,
       
   270 				 		RMobilePhone::TCFUIndicatorStatusFlags aCallForwardingStatusFlags,
       
   271 				 		RMmCustomAPI::TMultipleSubscriberProfileID aMultipleSubscriberProfileId);
       
   272     IMPORT_C void CallbackCallControlGetAlsPpSupportComp(TInt aError, RMmCustomAPI::TAlsSupport aAlsSupport);
       
   273     IMPORT_C void CallbackCallControlGetAlsBlockedStatusComp(TInt aError, RMmCustomAPI::TGetAlsBlockStatus aAlsStatus);
       
   274     IMPORT_C void CallbackCallControlSetAlsBlockedComp(TInt aError);
       
   275     IMPORT_C void CallbackCallControlGetLifeTimeComp(TInt aError);
       
   276     IMPORT_C void CallbackCallControlGetLifeTimeComp(TInt aError, TUint32 aHours, TUint8 aMinutes);
       
   277     IMPORT_C void CallbackCallControlGetLifeTimeComp(TInt aError, const TDateTime &aManufacturingDate);
       
   278     IMPORT_C void CallbackCallControlGetLifeTimeComp(TInt aError, const TDateTime &aManufacturingDate, TUint32 aHours, TUint8 aMinutes);
       
   279     IMPORT_C void CallbackCallControlTerminateErrorCallComp(TInt aError);
       
   280     IMPORT_C void CallbackCallControlTerminateAllCallsComp(TInt aError);
       
   281     IMPORT_C void CallbackCallControlGetCallForwardingIndicatorComp(TInt aError, RMobilePhone::TMobileTON aTypeOfNumber,
       
   282                                                                     RMobilePhone::TMobileNPI aMobilePlan,
       
   283                                                                     const TDesC &aNumber,
       
   284                                                                     RMobilePhone::TCFUIndicatorStatusFlags aCFUIndicatorStatusFlags,
       
   285                                                                     RMobilePhone::TMultipleSubscriberProfileID aMultipleSubscriberProfileId);
       
   286 
       
   287 	// Phone related callbacks
       
   288 	IMPORT_C void CallbackPhoneGetFdnStatusComp(TInt aError, RMobilePhone::TMobilePhoneFdnStatus aFdnStatus);
       
   289 	IMPORT_C void CallbackPhoneGetNetworkRegistrationStatusComp(TInt aError, RMobilePhone::TMobilePhoneRegistrationStatus aRegStatus);
       
   290 	IMPORT_C void CallbackPhoneBootNotifyModemStatusReadyComp(TInt aError, TRfStateInfo aRfStatus);
       
   291 	IMPORT_C void CallbackPhoneBootNotifySimStatusReadyComp(TInt aError);
       
   292 	IMPORT_C void CallbackPhoneGetHomeNetworkComp(TInt aError, const RMobilePhone::TMobilePhoneNetworkInfoV5& aNetworkInfo);
       
   293 	IMPORT_C void CallbackPhoneNotifyNetworkModeChangeInd(TInt aError, RMobilePhone::TMobilePhoneNetworkMode aNetworkMode);
       
   294 	IMPORT_C void CallbackPhoneNotifyEgprsInfoChangeInd(TInt aError, TBool aEdgeSupported);
       
   295 	IMPORT_C void CallbackPhoneNotifySignalStrengthChangeInd(TInt aError, TInt32 aSignalStrength, TInt8 aBar);
       
   296 	IMPORT_C void CallbackPhoneNotifyNetworkRegistrationStatusChangeInd(TInt aError, RMobilePhone::TMobilePhoneRegistrationStatus aRegStatus);
       
   297 	IMPORT_C void CallbackPhoneNotifyNitzInfoChangeInd(TInt aError, const RMobilePhone::TMobilePhoneNITZ& aNitzInfo);
       
   298 	IMPORT_C void CallbackPhoneNotifyBatteryInfoChangeInd(TInt aError, const RMobilePhone::TMobilePhoneBatteryInfoV1& aBatteryInfo);
       
   299 	IMPORT_C void CallbackPhoneNotifyCurrentNetworkChangeInd(TInt aError, const RMobilePhone::TMobilePhoneNetworkInfoV5& aNetworkInfo, const RMobilePhone::TMobilePhoneLocationAreaV1& aLocationArea);
       
   300 	IMPORT_C void CallbackPhoneGetServiceProviderNameComp(TInt aError, const RMobilePhone::TMobilePhoneServiceProviderNameV2& aServiceProvider);
       
   301 	IMPORT_C void CallbackPhoneGetPhoneIdComp(TInt aError, const RMobilePhone::TMobilePhoneIdentityV1& aPhoneId);
       
   302 	IMPORT_C void CallbackPhoneGetDetectedNetworksComp(TInt aError, const CMobilePhoneNetworkListV2& aPhoneNetworkList);
       
   303 	IMPORT_C void CallbackPhoneGetDetectedNetworksCancelComp(TInt aError);
       
   304 	IMPORT_C void CallbackPhoneSelectNetworkComp(TInt aError);
       
   305 	IMPORT_C void CallbackPhoneSelectNetworkCancelComp(TInt aError);
       
   306 	IMPORT_C void CallbackPhoneSetNetworkSelectionSettingComp(TInt aError, RMobilePhone::TMobilePhoneSelectionMethod aSelectionMethod);
       
   307 	IMPORT_C void CallbackPhoneNotifyRfStatusChangeInd(TInt aError, TRfStateInfo aRfStatus);
       
   308 	IMPORT_C void CallbackPhoneGetCurrentNetworkInfoComp(TInt aError, const RMobilePhone::TMobilePhoneNetworkInfoV5& aNetworkInfo, const RMobilePhone::TMobilePhoneLocationAreaV1& aLocationArea);
       
   309 	IMPORT_C void CallbackPhoneGetNetworkModeComp(TInt aError, RMobilePhone::TMobilePhoneNetworkMode aNetworkMode);
       
   310 	IMPORT_C void CallbackPhoneGetNitzInfoComp(TInt aError, const RMobilePhone::TMobilePhoneNITZ& aNitzInfo);
       
   311 	IMPORT_C void CallbackPhoneGetSignalStrengthComp(TInt aError, TInt32 aSignalStrength, TInt8 aBar);
       
   312 	IMPORT_C void CallbackPhoneGetBatteryInfoComp(TInt aError, const RMobilePhone::TMobilePhoneBatteryInfoV1& aBatteryInfo);
       
   313 	IMPORT_C void CallbackPhoneSimRefreshRegisterComp(TInt aError);
       
   314 	IMPORT_C void CallbackPhoneNotifyNspsStatusChangeInd(TInt aError, TBool aEnabled);
       
   315 	IMPORT_C void CallbackPhoneNotifyNetworkSelectionSettingChangeInd(TInt aError, RMobilePhone::TMobilePhoneSelectionMethod aSelectionMethod);
       
   316 	IMPORT_C void CallbackPhoneGetCellInfoComp(TInt aError);
       
   317 	IMPORT_C void CallbackPhoneGetCellInfoComp(TInt aError, const RMmCustomAPI::TMmCellInfo::TGSMCellInfo &aInfo);
       
   318     IMPORT_C void CallbackPhoneGetCellInfoComp(TInt aError,
       
   319                                                const RMmCustomAPI::TMmCellInfo::TWCDMACellInfo &aInfo);
       
   320 	IMPORT_C void CallbackPhoneNotifyCellInfoChangedInd(TInt aError);
       
   321 	IMPORT_C void CallbackPhoneNotifyCellInfoChangedInd(TInt aError, const RMmCustomAPI::TMmCellInfo::TGSMCellInfo &aInfo);
       
   322 	IMPORT_C void CallbackPhoneNotifyCellInfoChangedInd(TInt aError, const RMmCustomAPI::TMmCellInfo::TWCDMACellInfo &aInfo);
       
   323     IMPORT_C void CallbackPhoneNspsWakeupComp(TInt aError);
       
   324     IMPORT_C void CallbackPhoneSetSystemNetworkModeComp(TInt aError);
       
   325     IMPORT_C void CallbackPhoneGetCurrentSystemNetworkModesComp(TInt aError, TUint32 aCurrentSystemNetworkModes);
       
   326 	IMPORT_C void CallbackPhoneNotifyRauEventInd(TInt aError, RMmCustomAPI::TRauEventStatus aRauEvent);
       
   327 	IMPORT_C void CallbackPhoneNotifyNetworkConnectionFailureInd(TInt aError);
       
   328 	IMPORT_C void CallbackPhoneNotifyDtmfEventInd(TInt aError, RMmCustomAPI::TDtmfEventType aType,
       
   329                                                   RMmCustomAPI::TDtmfEvent aEvent, TChar aTone);
       
   330 	IMPORT_C void CallbackPhoneNotifyDtmfEventInd(TInt aError, RMobilePhone::TMobilePhoneDTMFEvent aEventType);
       
   331     IMPORT_C void CallbackPhoneResetNetServerComp(TInt aError);
       
   332     IMPORT_C void CallbackPhoneSetAlwaysOnModeComp(TInt aError);
       
   333     IMPORT_C void CallbackPhoneSetDriveModeComp(TInt aError);
       
   334     IMPORT_C void CallbackPhoneGetHspaStatusComp(TInt aError, RMmCustomAPI::THSxPAStatus aStatus);
       
   335     IMPORT_C void CallbackPhoneSetHspaStatusComp(TInt aError);
       
   336 	IMPORT_C void CallbackPhoneNotifyHspaStatusChangedInd(TInt aError, RMmCustomAPI::THSxPAStatus aStatus);
       
   337     IMPORT_C void CallbackPhoneGetNetworkProviderNameComp(TInt aError, const TDesC& aName);
       
   338     IMPORT_C void CallbackPhoneGetOperatorNameComp(TInt aError, RMmCustomAPI::TOperatorNameType aType, const TDesC& aName);
       
   339     IMPORT_C void CallbackPhoneRegisterCellInfoChangeNotificationComp(TInt aError);
       
   340 	IMPORT_C void CallbackPhoneGetPhoneCellInfoComp(TInt aError, const RMobilePhone::TMobilePhoneCellInfoV9& aCellInfo);
       
   341 	IMPORT_C void CallbackPhoneNotifyCellInfoChangeInd(TInt aError, const RMobilePhone::TMobilePhoneCellInfoV9& aCellInfo);
       
   342 	IMPORT_C void CallbackPhoneGetUsimServiceSupportComp(TInt aError, TInt aApplicationNumber, TBool aSupported);
       
   343 	IMPORT_C void CallbackPhoneGetCurrentActiveUsimApplicationComp(TInt aError, const TDesC8& aAid);
       
   344 	IMPORT_C void CallbackPhoneTerminateAllCallsComp(TInt aError);
       
   345 	IMPORT_C void CallbackPhoneGetSystemNetworkBandComp(TInt aError, RMmCustomAPI::TBandSelection aBand, RMmCustomAPI::TNetworkModeCaps aMode);
       
   346 	IMPORT_C void CallbackPhoneSetSystemNetworkBandComp(TInt aError);
       
   347 
       
   348 	// Security related callbacks
       
   349 	IMPORT_C void CallbackSecurityBootNotifySecurityReadyInd(TInt aError);
       
   350 	IMPORT_C void CallbackSecurityNotifySecurityEventInd(TInt aError, RMobilePhone::TMobilePhoneSecurityEvent aSecEvent);
       
   351 	IMPORT_C void CallbackSecurityNotifyLockInfoChangeInd(TInt aError, RMobilePhone::TMobilePhoneLockStatus aStatus, RMobilePhone::TMobilePhoneLockSetting aSetting, RMobilePhone::TMobilePhoneLock aLock);
       
   352 	IMPORT_C void CallbackSecurityGetSecurityCodeInfoComp(TInt aError, RMobilePhone::TMobilePhoneSecurityCode aSecCode, 
       
   353 	                      TInt aRemainingEntryAttempts);
       
   354 	IMPORT_C void CallbackSecurityGetLockInfoComp(TInt aError, RMobilePhone::TMobilePhoneLockStatus aLockStatus, RMobilePhone::TMobilePhoneLockSetting aLockSetting);
       
   355 	IMPORT_C void CallbackSecurityAbortSecurityCodeComp(TInt aError);
       
   356 	IMPORT_C void CallbackSecurityGetCurrentActivePinComp(TInt aError, RMobilePhone::TMobilePhoneSecurityCode aSecCode);
       
   357 	IMPORT_C void CallbackSecuritySetLockSettingComp(TInt aError);	                     
       
   358 	IMPORT_C void CallbackSecurityVerifySecurityCodeComp(TInt aError);
       
   359 	IMPORT_C void CallbackSecurityGetPin1DisableSupportedComp(TInt aError, TBool aIsSupported);
       
   360 	IMPORT_C void CallbackSecurityNotifyCipheringInfoChangeInd(TInt aError, const RMmCustomAPI::TCipheringInfo& aInfo);
       
   361 	IMPORT_C void CallbackSecurityCheckSecurityCodeComp(TInt aError);
       
   362 	IMPORT_C void CallbackSecurityDisablePhoneLockComp(TInt aError);
       
   363 	IMPORT_C void CallbackSecurityGetCipheringInfoComp(TInt aError, TBool aIndStatus);
       
   364 	IMPORT_C void CallbackSecurityIsSecurityCodeBlockedComp(TInt aError, TBool aIsBlocked);	
       
   365 	IMPORT_C void CallbackSecurityCheckSecurityCodeCancelComp(TInt aError);
       
   366 
       
   367 	// PhonebookEn related callbacks
       
   368 	IMPORT_C void CallbackPhonebookEnStoreGetInfoComp(TInt aError, TInt aUsedEntries);
       
   369 	IMPORT_C void CallbackPhonebookEnStoreReadAllComp(TInt aError, TInt aIndex, const TDesC& aNumber, TBool aMoreToCome);
       
   370 	IMPORT_C void CallbackPhonebookEnStoreReadEntryComp(TInt aError, TInt aIndex, const TDesC& aNumber);
       
   371 
       
   372 	// CellBroadcast related callbacks
       
   373 	IMPORT_C void CallbackCellBroadcastGsmBroadcastNotifyMessageReceivedInd(TInt aError, const TDesC8& aCbsMsg);
       
   374 	IMPORT_C void CallbackCellBroadcastWcdmaBroadcastMessageReceivedInd(TInt aError, const TDesC8& aWcdmaCbsData, const DispatcherCellBroadcast::TWcdmaCbsMsgBase& aWcdmaCbsMsgBase, TBool aMoreToCome);
       
   375 	IMPORT_C void CallbackCellBroadcastSetBroadcastFilterSettingComp(TInt aError);
       
   376 	IMPORT_C void CallbackCellBroadcastActivateBroadcastReceiveMessageComp(TInt aError);
       
   377 	IMPORT_C void CallbackCellBroadcastReceiveMessageCancelComp(TInt aError);
       
   378 	IMPORT_C void CallbackCellBroadcastStartSimCbTopicBrowsingComp(TInt aError, const CArrayFixFlat< RMmCustomAPI::TSimCbTopic >& aSimTopicArray );
       
   379 	IMPORT_C void CallbackCellBroadcastDeleteSimCbTopicComp(TInt aError);
       
   380 
       
   381 	// PhonebookOn related callbacks
       
   382 	IMPORT_C void CallbackPhonebookOnStoreReadAllInd(TInt aError);
       
   383 	IMPORT_C void CallbackPhonebookOnStoreReadComp(TInt aError, TInt aIndex, const TDesC& aName, const TDesC& aNumber);
       
   384 	IMPORT_C void CallbackPhonebookOnStoreDeleteAllComp(TInt aError);
       
   385 	IMPORT_C void CallbackPhonebookOnStoreReadEntryComp(TInt aError, TInt aIndex, const TDesC& aName, const TDesC& aNumber);
       
   386 	IMPORT_C void CallbackPhonebookOnStoreGetInfoComp(TInt aError, TInt aNumOfEntries, TInt aUsedEntries, TInt aNameLen, TInt aNumLen);
       
   387 	IMPORT_C void CallbackPhonebookOnStoreGetReadStoreSizeComp(TInt aError, TInt aSize);
       
   388 	IMPORT_C void CallbackPhonebookOnStoreDeleteEntryComp(TInt aError);
       
   389 	IMPORT_C void CallbackPhonebookOnStoreWriteEntryComp(TInt aError);
       
   390 	IMPORT_C void CallbackPhonebookOnStoreWriteComp(TInt aError, TInt aLocation);
       
   391 	IMPORT_C void CallbackPhonebookOnStoreGetStoreSizeComp(TInt aError, TInt aSize);
       
   392 
       
   393 	// Phonebook related callbacks
       
   394 	IMPORT_C void CallbackPhonebookStoreResetCacheInd(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook);
       
   395 	IMPORT_C void CallbackPhonebookStoreSetFdnPhonebookInfoInd(TInt aError, TInt aTotalEntries , TInt aMaxTextLength , TInt aMaxNumberLength);
       
   396 	IMPORT_C void CallbackPhonebookStoreReadEntryComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, const TDesC8& aPhonebookEntries);
       
   397 	IMPORT_C void CallbackPhonebookStoreDeleteEntryComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, TInt aMaxNumberLength = -1);
       
   398 	IMPORT_C void CallbackPhonebookStoreCacheComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, const TDesC8& aPhonebookEntries);
       
   399 	IMPORT_C void CallbackPhonebookStoreGetPhonebookInfoComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, TInt aUsedEntries);
       
   400 	IMPORT_C void CallbackPhonebookStoreInitialiseComp(TInt aError, const DispatcherPhonebook::TPhonebookStoreInfoV1& aPhonebookStoreInfo);
       
   401 	IMPORT_C void CallbackPhonebookStoreDeleteAllComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, TInt aMaxNumberLength = -1);
       
   402 	IMPORT_C void CallbackPhonebookStoreWriteEntryComp(TInt aError, DispatcherPhonebook::TPhonebook aPhonebook, TUint16 aIndex, TInt aMaxNumberLength = -1);
       
   403 	IMPORT_C void CallbackPhonebookGetPhoneStoreInfoComp(TInt aError, const RMobilePhoneStore::TMobilePhoneStoreInfoV1& aPhoneStoreInfo);
       
   404 	IMPORT_C void CallbackPhonebookSmsStoreReadAllComp(TInt aError, const DispatcherPhonebook::TSmsData& aSmsData, TInt aIndex, TBool aMoreToCome, TBool aReceivedClass2ToBeResent);
       
   405 	IMPORT_C void CallbackPhonebookSmsStoreDeleteEntryComp(TInt aError);
       
   406 	IMPORT_C void CallbackPhonebookSmsStoreDeleteAllComp(TInt aError);
       
   407 	IMPORT_C void CallbackPhonebookSmsStoreGetInfoComp(TInt aError, TInt aTotalEntries, TInt aUsedEntries);
       
   408 	IMPORT_C void CallbackPhonebookSmsStoreReadEntryComp(TInt aError, const DispatcherPhonebook::TSmsData& aSmsData);
       
   409 	IMPORT_C void CallbackPhonebookSmsStoreWriteEntryComp(TInt aError, TInt aLocation, TBool aReceivedClass2ToBeResent);
       
   410 
       
   411 	// Sim related callbacks
       
   412 	IMPORT_C void CallbackSimRefreshSimFilesInd(TInt aError, TUint16 aRefreshFileList);
       
   413 	IMPORT_C void CallbackSimNotifyIccMessageWaitingIndicatorsChangeInd(TInt aError, const RMobilePhone::TMobilePhoneMessageWaitingV1& aIndicators);
       
   414 	IMPORT_C void CallbackSimNotifyApnListChangeInd(TInt aError);
       
   415 	IMPORT_C void CallbackSimNotifyApnControlListServiceStatusChangeInd(TInt aError, RMobilePhone::TAPNControlListServiceStatus aStatus);
       
   416 	IMPORT_C void CallbackSimGetApnControlListServiceStatusComp(TInt aError, RMobilePhone::TAPNControlListServiceStatus aStatus);
       
   417 	IMPORT_C void CallbackSimDeleteApnNameComp(TInt aError);
       
   418 	IMPORT_C void CallbackSimEnumerateApnEntriesComp(TInt aError, TUint32 aNumEntries);
       
   419 	IMPORT_C void CallbackSimChangeSecurityCodeComp(TInt aError);
       
   420 	IMPORT_C void CallbackSimSetFdnSettingComp(TInt aError);
       
   421 	IMPORT_C void CallbackSimGetCustomerServiceProfileComp(TInt aError, const RMobilePhone::TMobilePhoneCspFileV1& aCsp);
       
   422 	IMPORT_C void CallbackSimGetSubscriberIdComp(TInt aError, const TDesC8& aId);
       
   423 	IMPORT_C void CallbackSimAppendApnNameComp(TInt aError);
       
   424 	IMPORT_C void CallbackSimGetActiveIccApplicationTypeComp(TInt aError, MLtsyDispatchSimGetActiveIccApplicationType::TIccType aIccType);
       
   425 	IMPORT_C void CallbackSimSetIccMessageWaitingIndicatorsComp(TInt aError);
       
   426 	IMPORT_C void CallbackSimSetApnControlListServiceStatusComp(TInt aError);
       
   427 	IMPORT_C void CallbackSimGetApnNameComp(TInt aError, const RMobilePhone::TAPNEntryV3& aEntry);
       
   428 	IMPORT_C void CallbackSimGetServiceTableComp(TInt aError, const RMobilePhone::TMobilePhoneServiceTableV1& aServiceTable);
       
   429 	IMPORT_C void CallbackSimGetIccMessageWaitingIndicatorsComp(TInt aError, const RMobilePhone::TMobilePhoneMessageWaitingV1& aMessageWaiting);
       
   430 	IMPORT_C void CallbackSimNotifySimCardStatusInd(TInt aError, RMmCustomAPI::TSIMCardStatus aSimCardStatus);
       
   431 	IMPORT_C void CallbackSimSimLockActivateComp(TInt aError);
       
   432 	IMPORT_C void CallbackSimSimLockDeActivateComp(TInt aError);
       
   433 	IMPORT_C void CallbackSimGetAnswerToResetComp(TInt aError, const TDesC8& aAnswerToReset);
       
   434 	IMPORT_C void CallbackSimGetSimCardReaderStatusComp(TInt aError, TUint8 aSimCardReaderStatus);
       
   435 	IMPORT_C void CallbackSimGetSimAuthenticationDataComp(TInt aError, const TDesC8& aSignedResponse, const TDesC8& aCipheringKey);
       
   436 	IMPORT_C void CallbackSimGetSimAuthenticationDataComp(TInt aError, const TDesC8& aResponse, const TDesC8& aCipheringKey, const TDesC8& aIntegrityKey, const TDesC8& aAUTS);
       
   437 	IMPORT_C void CallbackSimPowerSimOffComp(TInt aError);
       
   438 	IMPORT_C void CallbackSimPowerSimOnComp(TInt aError);
       
   439 	IMPORT_C void CallbackSimReadSimFileComp(TInt aError, const TDesC8& aResponseBytes);
       
   440 	IMPORT_C void CallbackSimSendApduRequestComp(TInt aError, TUint8 aServiceType, TUint8 aCardReaderNumber, TUint8 aApplicationType, const TDesC8& aResponseData);
       
   441 	IMPORT_C void CallbackSimSendApduRequestV2Comp(TInt aError, const TDesC8& aResponseData);
       
   442 	IMPORT_C void CallbackSimSimWarmResetComp(TInt aError);
       
   443 	IMPORT_C void CallbackSimSetSimMessageStatusReadComp(TInt aError);
       
   444 
       
   445 	// Sms related callbacks
       
   446 	IMPORT_C void CallbackSmsNotifyReceiveSmsMessageInd(TInt aError, TBool aInd, const TSmsMsg& aSmsMessage);
       
   447 	IMPORT_C void CallbackSmsSendSatSmsComp(TInt aError);
       
   448 	IMPORT_C void CallbackSmsGetSmsStoreInfoComp(TInt aError, TInt aTotalEntries, TInt aUsedEntries);
       
   449 	IMPORT_C void CallbackSmsGetSmspListComp(TInt aError, const TDesC& aServiceCenterAddress, const TDesC& aDestinationAddress,
       
   450 				  const TDesC& aAlphaTagData, const DispatcherSim::TSmsParameters& aSmsParameters, TBool aMoreToCome);
       
   451 	IMPORT_C void CallbackSmsNackSmsStoredComp(TInt aError);
       
   452 	IMPORT_C void CallbackSmsAckSmsStoredComp(TInt aError);
       
   453 	IMPORT_C void CallbackSmsResumeSmsReceptionComp(TInt aError);
       
   454 	IMPORT_C void CallbackSmsSendSmsMessageComp(TInt aError, TInt aMsgRef, const TDesC8& aSmsSubmitReport);
       
   455 	IMPORT_C void CallbackSmsSendSmsMessageNoFdnCheckComp(TInt aError, TInt aMsgRef, const TDesC8& aSmsSubmitReport);
       
   456 	IMPORT_C void CallbackSmsSetMoSmsBearerComp(TInt aError);
       
   457 	IMPORT_C void CallbackSmsStoreSmspListEntryComp(TInt aError);
       
   458 
       
   459 	// CallControlMultiparty related callbacks
       
   460 	IMPORT_C void CallbackCallControlMultipartyConferenceHangUpComp(TInt aError);
       
   461 	IMPORT_C void CallbackCallControlMultipartyConferenceAddCallComp(TInt aError);
       
   462 	IMPORT_C void CallbackCallControlMultipartyCreateConferenceComp(TInt aError);
       
   463 	IMPORT_C void CallbackCallControlMultipartyConferenceSwapComp(TInt aError);
       
   464 	IMPORT_C void CallbackCallControlMultipartyConferenceGoOneToOneComp(TInt aError, TInt aCallId);
       
   465 
       
   466 	// SupplementaryServices related callbacks
       
   467 	IMPORT_C void CallbackSupplementaryServicesNotifyCallBarringStatusChangeInd(TInt aError, RMobilePhone::TMobilePhoneCBCondition aCondition);
       
   468 	IMPORT_C void CallbackSupplementaryServicesReceiveUssdMessageInd(TInt aError, const TDesC8& aMessage, TUint8 aDcs, RMobileUssdMessaging::TMobileUssdMessageType aType, RMobileUssdMessaging::TMobileUssdDataFormat aFormat);
       
   469 	IMPORT_C void CallbackSupplementaryServicesNotifyCallWaitingStatusChangeInd(TInt aError, RMobilePhone::TMobileService aServiceGrouop, RMobilePhone::TMobilePhoneCWStatus aStatus);
       
   470 	IMPORT_C void CallbackSupplementaryServicesNotifyCallForwardingStatusChangeInd(TInt aError, RMobilePhone::TMobilePhoneCFCondition aCallForwardingCondition);
       
   471 	IMPORT_C void CallbackSupplementaryServicesNotifyCallForwardingActiveInd(TInt aError, RMobilePhone::TMobileService aServiceGroup, RMobilePhone::TMobilePhoneCFActive aActiveType);
       
   472 	IMPORT_C void CallbackSupplementaryServicesGetDiagnosticOctetsInd(TInt aError, TInt aCallId, TUint8 aOctet);
       
   473 	IMPORT_C void CallbackSupplementaryServicesNotifyAdditionalInfoInd(TInt aError, TUint8 aOperationCode, const TDesC8& aAdditionalInfo);
       
   474 	IMPORT_C void CallbackSupplementaryServicesNotifyRequestCompleteInd(TInt aError, TInt aStatus);
       
   475 	IMPORT_C void CallbackSupplementaryServicesNotifySendNetworkServiceRequestInd(TInt aError, RMobilePhone::TMobilePhoneNotifySendSSOperation aOperationCode, const TDesC& aAdditionalInfo);
       
   476 	// NotifySS options
       
   477 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventForwardModeInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode, RMmCustomAPI::TSsForwMode aForwardMode);
       
   478 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventCallWaitingInd(TInt aError, RMmCustomAPI::TSsMode aMode, TBool aCallIsWaiting);
       
   479 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventHoldModeInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode, RMmCustomAPI::TSsHoldMode aHoldMode);
       
   480 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventConfrenceInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode, TBool aConferenceIndicator);
       
   481 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventCugInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode, TUint16 aCugIndex);
       
   482 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventClirSuppressionInd(TInt aError, RMmCustomAPI::TSsMode aMode, TBool aClirSuppressionRejected);
       
   483 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventEctCallStateInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode, RMmCustomAPI::TSsEctState aEctCallState, RMmCustomAPI::TSsChoice aEctChoice, const TDesC& aRemotePartyNumber);
       
   484 	IMPORT_C void CallbackSupplementaryServicesNotifyNetworkEventInd(TInt aError, RMmCustomAPI::TSsType aType, RMmCustomAPI::TSsMode aMode);
       
   485 	
       
   486 	IMPORT_C void CallbackSupplementaryServicesSendNetworkServiceRequestNoFdnCheckComp(TInt aError);
       
   487 	IMPORT_C void CallbackSupplementaryServicesGetCallWaitingStatusComp(TInt aError, const CMobilePhoneCWList& aCallWaitingList);
       
   488 	IMPORT_C void CallbackSupplementaryServicesSendNetworkServiceRequestComp(TInt aError);
       
   489 	IMPORT_C void CallbackSupplementaryServicesGetCallBarringStatusComp(TInt aError, const CMobilePhoneCBList& aCallBarringList);
       
   490 	IMPORT_C void CallbackSupplementaryServicesSetCallBarringStatusComp(TInt aError);
       
   491 	IMPORT_C void CallbackSupplementaryServicesSetCallForwardingStatusComp(TInt aError);
       
   492 	IMPORT_C void CallbackSupplementaryServicesSetCallWaitingStatusComp(TInt aError);
       
   493 	IMPORT_C void CallbackSupplementaryServicesSetSsPasswordComp(TInt aError);
       
   494 	IMPORT_C void CallbackSupplementaryServicesGetCallForwardingStatusComp(TInt aError, const CMobilePhoneCFList& aCallForwardingList);
       
   495 	IMPORT_C void CallbackSupplementaryServicesSendUssdMessageComp(TInt aError);
       
   496 	IMPORT_C void CallbackSupplementaryServicesSendUssdMessageNoFdnCheckComp(TInt aError);
       
   497 	IMPORT_C void CallbackSupplementaryServicesSendUssdReleaseComp(TInt aError, TUint8 aOpCode, const TDesC& aAdditionalInfo);
       
   498 	IMPORT_C void CallbackSupplementaryServicesClearBlacklistComp(TInt aError);
       
   499 
       
   500 	// PacketServices related callbacks
       
   501 	IMPORT_C void CallbackPacketServicesNotifyPacketAttachModeChangeInd(TInt aError, RPacketService::TPreferredBearer aBearer);
       
   502 	IMPORT_C void CallbackPacketServicesNotifyQosProfileChangedGPRSInd(TInt aError, const TDesC& aContextName, const RPacketQoS::TQoSGPRSNegotiated&  aQoSGPRSNegotiated);
       
   503 	IMPORT_C void CallbackPacketServicesNotifyQosProfileChangedR99Ind(TInt aError, const TDesC& aContextName, const RPacketQoS::TQoSR99_R4Negotiated& aQoSR99_R4Negotiated);
       
   504 	IMPORT_C void CallbackPacketServicesNotifyQosProfileChangedR5Ind(TInt aError, const TDesC& aContextName, const RPacketQoS::TQoSR5Negotiated& aQoSR5Negotiated);
       
   505 	IMPORT_C void CallbackPacketServicesNotifyRatTransferCapsChangeInd(TInt aError, TDynamicTransferCapsFlags aCaps);
       
   506 	IMPORT_C void CallbackPacketServicesNotifyPacketMsClassChangeInd(TInt aError, RPacketService::TMSClass aMSClass);
       
   507 	IMPORT_C void CallbackPacketServicesNotifyPacketDynamicCapsChangeInd(TInt aError, TBool aGprsIsSupportedOnCell, TBool aCsServicesIsSupportedOnCell);
       
   508 	IMPORT_C void CallbackPacketServicesNotifyPdpContextAddedInd(TInt aError, const TDesC& aContextName);
       
   509 	IMPORT_C void CallbackPacketServicesNotifyNetworkInitiatedContextActivationRequestInd(TInt aError, const RPacketContext::TContextConfigGPRS& aContextConfigGPRS);
       
   510 	IMPORT_C void CallbackPacketServicesNotifyNetworkInitiatedContextActivationRequestInd(TInt aError, const RPacketContext::TContextConfigR99_R4& aContextConfigR99_R4);
       
   511 	IMPORT_C void CallbackPacketServicesNotifyNetworkInitiatedContextActivationRequestInd(TInt aError, const RPacketContext::TContextConfig_R5& aContextConfig_R5);				
       
   512 	IMPORT_C void CallbackPacketServicesNotifyPdpContextConfigChangedInd(TInt aError, const TDesC& aContextName, const TDesC8& aAccessPointName, const TDesC8& aPdpAddress, const TUint aPdpCompression, const TDesC8& aPcoBuffer);
       
   513 	IMPORT_C void CallbackPacketServicesNotifyPdpContextStatusChangeInd(TInt aError, const TDesC& aContextName, const TContextMisc& aContextMisc);
       
   514 	IMPORT_C void CallbackPacketServicesNotifyPdpContextConnectionSpeedChangeInd(TInt aError, const TDesC& aContextName, TUint aConnectionSpeed);
       
   515 	IMPORT_C void CallbackPacketServicesNotifyPacketNetworkRegistrationStatusInd(TInt aError, RPacketService::TRegistrationStatus aRegistrationStatus);
       
   516 	IMPORT_C void CallbackPacketServicesNotifyMbmsContextConfigChangedInd(TInt aError, const TDesC& aContextName, const RPacketMbmsContext::TContextConfigMbmsV1& aContextConfigMbms);
       
   517 	IMPORT_C void CallbackPacketServicesNotifyMbmsNetworkServiceStatusChangeInd(TInt aError, TMbmsNetworkServiceStatus aMbmsNetworkServiceStatus);
       
   518 	IMPORT_C void CallbackPacketServicesNotifyMbmsServiceAvailabilityChangeInd(TInt aError, const RArray<TUint>& aAvailableServiceIds);
       
   519 	IMPORT_C void CallbackPacketServicesNotifyConnectionInfoChangeInd(TInt aError, const TDesC& aContextName, const RPacketContext::TConnectionInfoV1& aConnectionInfo);
       
   520 	IMPORT_C void CallbackPacketServicesPacketAttachComp(TInt aError);
       
   521 	IMPORT_C void CallbackPacketServicesGetPacketAttachModeComp(TInt aError, RPacketService::TAttachMode aAttachMode);
       
   522 	IMPORT_C void CallbackPacketServicesGetPacketNetworkRegistrationStatusComp(TInt aError, RPacketService::TRegistrationStatus aRegistrationStatus);
       
   523 	IMPORT_C void CallbackPacketServicesPacketDetachComp(TInt aError);
       
   524 	IMPORT_C void CallbackPacketServicesSetPdpContextConfigComp(TInt aError, const TDesC& aContextName);
       
   525 	IMPORT_C void CallbackPacketServicesModifyActivePdpContextComp(TInt aError, const TDesC& aContextName, TInt8 aRejectionCode);
       
   526 	IMPORT_C void CallbackPacketServicesInitialisePdpContextComp(TInt aError, const TDesC& aContextName, const TDesC& aChannelId);
       
   527 	IMPORT_C void CallbackPacketServicesDeletePdpContextComp(TInt aError, const TDesC& aContextName);
       
   528 	IMPORT_C void CallbackPacketServicesSetPacketAttachModeComp(TInt aError);
       
   529 	IMPORT_C void CallbackPacketServicesSetDefaultPdpContextParamsComp(TInt aError);
       
   530 	IMPORT_C void CallbackPacketServicesActivatePdpContextComp(TInt aError, const TDesC& aContextName, const TDesC8& aAccessPointName, RPacketContext::TProtocolType aPdpType);
       
   531 	IMPORT_C void CallbackPacketServicesSetPdpContextQosComp(TInt aError, const TDesC& aContextName);
       
   532 	IMPORT_C void CallbackPacketServicesRejectNetworkInitiatedContextActivationRequestComp(TInt aError);
       
   533 	IMPORT_C void CallbackPacketServicesDeactivatePdpContextComp(TInt aError, const TDesC& aContextName);
       
   534 	IMPORT_C void CallbackPacketServicesGetStatusComp(TInt aError, RPacketService::TStatus aPacketStatus, TBool aIsResumed);
       
   535 	IMPORT_C void CallbackPacketServicesGetStaticCapabilitiesComp(TInt aError, TUint aStaticCapabilities);
       
   536 	IMPORT_C void CallbackPacketServicesGetMaxNoMonitoredServiceListsComp(TInt aError, TInt aMaxNoMonitoredServiceLists);
       
   537 	IMPORT_C void CallbackPacketServicesGetMaxNoActiveServicesComp(TInt aError, TInt aMaxNoActiveServices);
       
   538 	IMPORT_C void CallbackPacketServicesInitialiseMbmsContextComp(TInt aError, const TDesC& aContextName, const TDesC& aChannelId);
       
   539 	IMPORT_C void CallbackPacketServicesGetMbmsNetworkServiceStatusComp(TInt aError, TMbmsNetworkServiceStatus aMbmsNetworkServiceStatus);
       
   540 	IMPORT_C void CallbackPacketServicesUpdateMbmsMonitorServiceListComp(TInt aError);
       
   541 	IMPORT_C void CallbackPacketServicesUpdateMbmsMonitorServiceListComp(TInt aError, const RArray<TUint>& aFailedServiceIds);
       
   542 	IMPORT_C void CallbackPacketServicesUpdateMbmsSessionListComp(TInt aError, const TDesC& aContextName);
       
   543 	
       
   544 	// Sat related callbacks
       
   545 	IMPORT_C void CallbackSatUssdControlSupportedChangeInd(TInt aError, TBool aSupported);
       
   546 	IMPORT_C void CallbackSatPcmdInd(TInt aError, const TDesC8& aData);
       
   547 	IMPORT_C void CallbackSatNotifyProactiveSimSessionEndInd(TInt aError, TUint8 aStatusWord1, TUint8 aStatusWord2);
       
   548 	IMPORT_C void CallbackSatTimeZoneChangeInd(TInt aError, TUint8 aTimeZone);
       
   549 	IMPORT_C void CallbackSatAccessTechnologyChangeInd(TInt aError, TUint8 aCurrentAccessTechnology);
       
   550 	IMPORT_C void CallbackSatCallConnectedInd(TInt aError, TUint8 aTransactionId, TBool aNearEnd);
       
   551 	IMPORT_C void CallbackSatSsChangeInd(TInt aError, DispatcherSat::TSsStatus aStatus);
       
   552 	IMPORT_C void CallbackSatCallDisconnectedInd(TInt aError, TUint8 aTransactionId, TBool aNearEnd, const TDesC8& aCause);
       
   553 	IMPORT_C void CallbackSatMtCallInd(TInt aError, TUint8 aTransactionId, const TDesC8& aAddress, const TDesC8& aSubAddress);
       
   554 	IMPORT_C void CallbackSatCallControlEnvelopeResponseInd(TInt aError, const TDesC8& aResponseTlv);
       
   555 	IMPORT_C void CallbackSatCreateCallControlEnvelopeInd(TInt aError, TUint8 aTag, const TDesC8& aBcc1, const TDesC8& aBcc2, const TDesC8& aAddress, TUint8 aTonNpi, TUint8 aDcs);
       
   556 	IMPORT_C void CallbackSatCreateSmControlEnvelopeInd(TInt aError, const TDesC8& aRpDestinationAddress, const TDesC8& aTpDestinationAddress);
       
   557 	IMPORT_C void CallbackSatImsiChangedInd(TInt aError);
       
   558 	IMPORT_C void CallbackSatLocationStatusInd(TInt aError, TUint8 aLcnStatus, const TDesC8& aCountryCode,
       
   559 			TUint16 aLcnAreaCode, TUint16 aCellId);
       
   560 	IMPORT_C void CallbackSatRemoveEventListInd(TInt aError);
       
   561 	IMPORT_C void CallbackSatCreateRefreshTerminalRspInd(TInt aError, RSat::TPCmdResult aGeneralResult, const TDesC& aAdditionalInfo);
       
   562 	IMPORT_C void CallbackSatSmControlEnvelopeResponseInd(TInt aError, const TDesC8& aResponseTlv);
       
   563 	IMPORT_C void CallbackSatCreateSmsPpDownloadEnvelopeInd(TInt aError, const TDesC8& aRpOriginatingAddress, const TDesC8& aSmsTpdu);
       
   564 	IMPORT_C void CallbackSatCreateSmsDeliverReportInd(TInt aError);
       
   565 	IMPORT_C void CallbackSatCreateCellBroadcastEnvelopeInd(TInt aError, const TDesC8& aCellBroadcastPage);
       
   566 	IMPORT_C void CallbackSatGetImageInstanceComp(TInt aError, const TDesC8& aImageInstanceData, const TDesC8& aImageInstanceBody);
       
   567 	IMPORT_C void CallbackSatGetIconDataComp(TInt aError, const TDesC8& aIconEfImgRecord);
       
   568 	IMPORT_C void CallbackSatGetClutComp(TInt aError, const TDesC8& aClut);
       
   569 	IMPORT_C void CallbackSatGetDefaultBearerCapabilityComp(TInt aError, const TDesC8& aCapability);
       
   570 	IMPORT_C void CallbackSatGetSmsPpDownloadSupportedComp(TInt aError, TBool aSupported);
       
   571 	IMPORT_C void CallbackSatGetSmsControlActivatedComp(TInt aError, TBool aActivated);
       
   572 	IMPORT_C void CallbackSatGetAccessTechnologyComp(TInt aError, TUint8 aAccessTechnology);
       
   573 	IMPORT_C void CallbackSatTimingAdvanceComp(TInt aError, TUint8 aTimingAdvance, TUint8 aMeStatus);
       
   574 	IMPORT_C void CallbackSatProvideLocationInfoComp(TInt aError, TUint16 aLocationAreaCode, TUint16 aCellId,
       
   575 			const TDesC8& aOperatorCode);
       
   576 	IMPORT_C void CallbackSatSetPollingIntervalComp(TInt aError, TUint8 aPollingInterval);
       
   577 	IMPORT_C void CallbackSatLocalInformationNmrComp(TInt aError, const TDesC8& aNmr, const TDesC& aBcchList);
       
   578 	IMPORT_C void CallbackSatGetUssdControlSupportedComp(TInt aError, TBool aSupported);
       
   579 	IMPORT_C void CallbackSatTerminalRspComp(TInt aError);
       
   580 	IMPORT_C void CallbackSatRefreshAllowedComp(TInt aError);
       
   581 	IMPORT_C void CallbackSatReadyComp(TInt aError);
       
   582 	IMPORT_C void CallbackSatUssdControlEnvelopeErrorComp(TInt aError);
       
   583 	
       
   584 protected:
       
   585 
       
   586 
       
   587 private:
       
   588 
       
   589 	// So that the CMessageRouter can call SetDispatcherHolder (which we do not want
       
   590 	// to export) on it to give it the dispatcher object references.
       
   591 	friend class CMessageRouter;
       
   592 
       
   593 	void SetDispatcherHolder(TDispatcherHolder& aDispatcherHolder);
       
   594 
       
   595 	CCtsyDispatcherCallback();
       
   596 	void ConstructL();
       
   597 
       
   598 private:
       
   599 
       
   600 	// Not Owned
       
   601 
       
   602 	/**
       
   603 	 * Holds pointers to dispatcher objects.  Completions sent by the Licensee LTSY
       
   604 	 * are forwarded by this class to the relevant dispatcher stored in the
       
   605 	 * dispatcher holder.
       
   606 	 */
       
   607 	TDispatcherHolder* iDispatcherHolder;
       
   608 
       
   609 	}; // class CCtsyDispatcherCallback
       
   610 
       
   611 #endif // CCTSYDISPATCHERCALLBACK_H