cbsref/telephonyrefplugins/atltsy/handler/src/cltsyfactoryv1.cpp
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
child 21 4814c5a49428
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     1 // Copyright (c) 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 // @file ltsyfactoryv1.cpp
       
    15 // This contains CLtsyFactoryV1 which acting an interface for Lincesee dll
       
    16 // 
       
    17 // system include
       
    18 #include <ctsy/ltsy/mltsydispatchinterface.h>
       
    19 #include <ctsy/ltsy/cctsydispatchercallback.h>
       
    20 
       
    21 // use include
       
    22 #include "cltsyfactoryv1.h"
       
    23 #include "cltsycallcontrolhandler.h"
       
    24 #include "cltsyphonehandler.h"
       
    25 #include "cltsysecurityhandler.h"
       
    26 #include "cltsyphonebookenhandler.h"
       
    27 #include "cltsycellbroadcasthandler.h"
       
    28 #include "cltsyphonebookonhandler.h"
       
    29 #include "cltsyphonebookhandler.h"
       
    30 #include "cltsysimhandler.h"
       
    31 #include "cltsysmshandler.h"
       
    32 #include "cltsycallcontrolmultipartyhandler.h"
       
    33 #include "cltsysupplementaryserviceshandler.h"
       
    34 #include "cltsypacketserviceshandler.h"
       
    35 #include "cltsysathandler.h"
       
    36 #include "globalphonemanager.h"
       
    37 #include "unsolicitedeventmonitor.h"
       
    38 #include "unsolicitedcommandcallcontrolhandler.h"
       
    39 
       
    40 
       
    41 CLtsyFactoryV1::CLtsyFactoryV1()
       
    42 	{
       
    43 	}
       
    44 
       
    45 CLtsyFactoryV1::~CLtsyFactoryV1()
       
    46 	{
       
    47 	TSYLOGENTRYEXIT;
       
    48 
       
    49 	// Delete dispatch handlers
       
    50 	delete iLtsyDispatchCallControlHandler;
       
    51 	iLtsyDispatchCallControlHandler = NULL;
       
    52 
       
    53 	delete iLtsyDispatchPhoneHandler;
       
    54 	iLtsyDispatchPhoneHandler = NULL;
       
    55 
       
    56 	delete iLtsyDispatchSecurityHandler;
       
    57 	iLtsyDispatchSecurityHandler = NULL;
       
    58 
       
    59 	delete iLtsyDispatchPhonebookEnHandler;
       
    60 	iLtsyDispatchPhonebookEnHandler = NULL;
       
    61 
       
    62 	delete iLtsyDispatchCellBroadcastHandler;
       
    63 	iLtsyDispatchCellBroadcastHandler = NULL;
       
    64 
       
    65 	delete iLtsyDispatchPhonebookOnHandler;
       
    66 	iLtsyDispatchPhonebookOnHandler = NULL;
       
    67 
       
    68 	delete iLtsyDispatchPhonebookHandler;
       
    69 	iLtsyDispatchPhonebookHandler = NULL;
       
    70 
       
    71 	delete iLtsyDispatchSimHandler;
       
    72 	iLtsyDispatchSimHandler = NULL;
       
    73 
       
    74 	delete iLtsyDispatchSmsHandler;
       
    75 	iLtsyDispatchSmsHandler = NULL;
       
    76 
       
    77 	delete iLtsyDispatchCallControlMultipartyHandler;
       
    78 	iLtsyDispatchCallControlMultipartyHandler = NULL;
       
    79 
       
    80 	delete iLtsyDispatchSupplementaryServicesHandler;
       
    81 	iLtsyDispatchSupplementaryServicesHandler = NULL;
       
    82 
       
    83 	delete iLtsyDispatchPacketServicesHandler;
       
    84 	iLtsyDispatchPacketServicesHandler = NULL;
       
    85 
       
    86 	delete iLtsyDispatchSatHandler;
       
    87 	iLtsyDispatchSatHandler = NULL;
       
    88 	
       
    89 	delete iUnsolicitedEventMonitor;
       
    90 	iUnsolicitedEventMonitor = NULL;
       
    91 	
       
    92 	delete iGlobalPhone;
       
    93 	iGlobalPhone = NULL;
       
    94 	}
       
    95 
       
    96 MLtsyFactoryBase::TCtsyInterfaceVersion CLtsyFactoryV1::Version()
       
    97 	{
       
    98 	TSYLOGENTRYEXIT;
       
    99 	return EIfVersion1;
       
   100 	}
       
   101 
       
   102 void CLtsyFactoryV1::ConstructL(CCtsyDispatcherCallback& aCallback)
       
   103 /**
       
   104  * Second phase constructor. This function must be called explicitly
       
   105  * by the client to complete construction before any other functions in this
       
   106  * class are called.
       
   107  */
       
   108 	{
       
   109 	TSYLOGENTRYEXIT;
       
   110 	// create global phone manager
       
   111 	iGlobalPhone = CGlobalPhonemanager::NewL();
       
   112 	
       
   113 	// create the call control handler
       
   114 	iLtsyDispatchCallControlHandler = CLtsyCallControlHandler::NewL(aCallback, iGlobalPhone);
       
   115 	
       
   116 	// create the phone control handler
       
   117 	iLtsyDispatchPhoneHandler = CLtsyPhoneHandler::NewL(aCallback,iGlobalPhone);
       
   118 	
       
   119 	// create the sms control handler
       
   120 	iLtsyDispatchSmsHandler = CLtsySmsHandler::NewL(aCallback,iGlobalPhone);
       
   121 	
       
   122 	// create the packect service control handler
       
   123 	iLtsyDispatchPacketServicesHandler = CLtsyPacketServicesHandler::NewL(aCallback,iGlobalPhone);
       
   124     
       
   125 	// create the phone book control handler
       
   126 	iLtsyDispatchPhonebookHandler = CLtsyPhonebookHandler::NewL(aCallback,iGlobalPhone);
       
   127 
       
   128 	// create the security control handler
       
   129 	iLtsyDispatchSecurityHandler = CLtsySecurityHandler::NewL(aCallback);
       
   130 	
       
   131 	// create the EN phone book control handler
       
   132 	iLtsyDispatchPhonebookEnHandler = CLtsyPhonebookEnHandler::NewL(aCallback,iGlobalPhone);
       
   133 	
       
   134 	// create the cell broad cast control handler
       
   135 	iLtsyDispatchCellBroadcastHandler = CLtsyCellBroadcastHandler::NewL(aCallback);
       
   136 	
       
   137 	// create the ON phone book control handler
       
   138 	iLtsyDispatchPhonebookOnHandler = CLtsyPhonebookOnHandler::NewL(aCallback);
       
   139 		
       
   140 	// create the sim card control handler
       
   141 	iLtsyDispatchSimHandler = CLtsySimHandler::NewL(aCallback);
       
   142 	
       
   143 	// create the conference call control handler
       
   144 	iLtsyDispatchCallControlMultipartyHandler = CLtsyCallControlMultipartyHandler::NewL(aCallback);
       
   145 	
       
   146 	// create the supplementary service control handler
       
   147 	iLtsyDispatchSupplementaryServicesHandler = CLtsySupplementaryServicesHandler::NewL(aCallback);
       
   148 		
       
   149 	// create the sat control handler
       
   150 	iLtsyDispatchSatHandler = CLtsySatHandler::NewL(aCallback);
       
   151 	
       
   152 	//Create unsolicited observer
       
   153 	iUnsolicitedEventMonitor = CUnsolicitedEventMonitor::NewL(*iGlobalPhone, aCallback);
       
   154 	
       
   155 	// create the security control handler
       
   156 	iUnsolicitedEventMonitor->AddUnsolicitedObserver(iLtsyDispatchCallControlHandler->GetUnsolicitedCallControlHandler());
       
   157 	
       
   158 	// create the security control handler
       
   159 	iUnsolicitedEventMonitor->StartUnsolicitedObserver();
       
   160 	} // CLtsyFactoryV1::ConstructL
       
   161 
       
   162 
       
   163 TInt CLtsyFactoryV1::GetDispatchHandler(
       
   164 			TLtsyDispatchInterfaceApiId aDispatchInterfaceId,
       
   165 			TAny*& aDispatchInterface)
       
   166 /**
       
   167  * Part of the MLtsyFactoryV1 interface.  Returns the requested dispatch handler.
       
   168  * For more details see MLtsyFactoryV1::GetDispatchHandler
       
   169  *
       
   170  * @param aInterfaceId The dispatch interface identifier of the requested
       
   171  * interface.
       
   172  *
       
   173  * @param aDispatchInterface If this function completes with KErrNone, will contain
       
   174  * a reference to a pointer to the dispatch handler interface in the LTSY.
       
   175  * aDispatchInterface may be NULL. Otherwise the parameter will remain unchanged.
       
   176  *
       
   177  * @return KErrNone if the requested interface was returned in the
       
   178  * aDispatchInterface parameter; KErrNotFound if the requested interface
       
   179  * was not found in the Licensee LTSY.
       
   180  */
       
   181 	{
       
   182 	TSYLOGENTRYEXITARGS(_L8("aDispatchInterfaceId=%d"), aDispatchInterfaceId);
       
   183 
       
   184 	switch (aDispatchInterfaceId)
       
   185 		{
       
   186 
       
   187 		// Handlers for IPCs used in boot sequence
       
   188 
       
   189 	case MLtsyDispatchPhoneBootNotifyModemStatusReady::KLtsyDispatchPhoneBootNotifyModemStatusReadyApiId:
       
   190 		aDispatchInterface = static_cast<MLtsyDispatchPhoneBootNotifyModemStatusReady*>
       
   191 												(iLtsyDispatchPhoneHandler);
       
   192 		break;
       
   193 	case MLtsyDispatchPhoneBootNotifySimStatusReady::KLtsyDispatchPhoneBootNotifySimStatusReadyApiId:
       
   194 		aDispatchInterface = static_cast<MLtsyDispatchPhoneBootNotifySimStatusReady*>
       
   195 												(iLtsyDispatchPhoneHandler);
       
   196 		break;
       
   197 	case MLtsyDispatchPhoneGetNetworkRegistrationStatus::KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId:
       
   198 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetNetworkRegistrationStatus*>
       
   199 												(iLtsyDispatchPhoneHandler);
       
   200 		break;
       
   201 	case MLtsyDispatchPhoneSimRefreshRegister::KLtsyDispatchPhoneSimRefreshRegisterApiId:
       
   202 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSimRefreshRegister*>
       
   203 												(iLtsyDispatchPhoneHandler);
       
   204 		break;
       
   205 	case MLtsyDispatchPhoneGetFdnStatus::KLtsyDispatchPhoneGetFdnStatusApiId:
       
   206 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetFdnStatus*>
       
   207 												(iLtsyDispatchPhoneHandler);
       
   208 		break;
       
   209 	case MLtsyDispatchPhoneGetHomeNetwork::KLtsyDispatchPhoneGetHomeNetworkApiId:
       
   210 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetHomeNetwork*>
       
   211 												(iLtsyDispatchPhoneHandler);
       
   212 		break;
       
   213 	case MLtsyDispatchPhoneNspsWakeup::KLtsyDispatchPhoneNspsWakeupApiId:
       
   214 		aDispatchInterface = static_cast<MLtsyDispatchPhoneNspsWakeup*>
       
   215 												(iLtsyDispatchPhoneHandler);
       
   216 		break;
       
   217 	case MLtsyDispatchPhoneSetSystemNetworkMode::KLtsyDispatchPhoneSetSystemNetworkModeApiId:
       
   218 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetSystemNetworkMode*>
       
   219 												(iLtsyDispatchPhoneHandler);
       
   220 		break;
       
   221 	case MLtsyDispatchPhoneGetCurrentSystemNetworkModes::KLtsyDispatchPhoneGetCurrentSystemNetworkModesApiId:
       
   222 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetCurrentSystemNetworkModes*>
       
   223 												(iLtsyDispatchPhoneHandler);
       
   224 		break;
       
   225 	case MLtsyDispatchPhoneResetNetServer::KLtsyDispatchPhoneResetNetServerApiId:
       
   226 		aDispatchInterface = static_cast<MLtsyDispatchPhoneResetNetServer*>
       
   227 												(iLtsyDispatchPhoneHandler);
       
   228 		break;
       
   229 	case MLtsyDispatchPhoneSetAlwaysOnMode::KLtsyDispatchPhoneSetAlwaysOnModeApiId:
       
   230 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetAlwaysOnMode*>
       
   231 												(iLtsyDispatchPhoneHandler);
       
   232 		break;
       
   233 	case MLtsyDispatchPhoneSetDriveMode::KLtsyDispatchPhoneSetDriveModeApiId:
       
   234 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetDriveMode*>
       
   235 												(iLtsyDispatchPhoneHandler);
       
   236 		break;
       
   237 	case MLtsyDispatchPhoneGetHspaStatus::KLtsyDispatchPhoneGetHspaStatusApiId:
       
   238 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetHspaStatus*>
       
   239 												(iLtsyDispatchPhoneHandler);
       
   240 		break;
       
   241 	case MLtsyDispatchPhoneSetHspaStatus::KLtsyDispatchPhoneSetHspaStatusApiId:
       
   242 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetHspaStatus*>
       
   243 												(iLtsyDispatchPhoneHandler);
       
   244 		break;
       
   245 	case MLtsyDispatchPhoneGetNetworkProviderName::KLtsyDispatchPhoneGetNetworkProviderNameApiId:
       
   246 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetNetworkProviderName*>
       
   247 												(iLtsyDispatchPhoneHandler);
       
   248 		break;
       
   249 	case MLtsyDispatchPhoneGetOperatorName::KLtsyDispatchPhoneGetOperatorNameApiId:
       
   250 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetOperatorName*>
       
   251 												(iLtsyDispatchPhoneHandler);
       
   252 		break;
       
   253 	case MLtsyDispatchPhoneGetCellInfo::KLtsyDispatchPhoneGetCellInfoApiId:
       
   254 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetCellInfo*>
       
   255 												(iLtsyDispatchPhoneHandler);
       
   256 		break;
       
   257 
       
   258 		// CallControl Functional Unit interface handlers
       
   259 
       
   260 	case MLtsyDispatchCallControlAnswer::KLtsyDispatchCallControlAnswerApiId:
       
   261 		aDispatchInterface = static_cast<MLtsyDispatchCallControlAnswer*>
       
   262 												(iLtsyDispatchCallControlHandler);
       
   263 		break;
       
   264 	case MLtsyDispatchCallControlHold::KLtsyDispatchCallControlHoldApiId:
       
   265 		aDispatchInterface = static_cast<MLtsyDispatchCallControlHold*>
       
   266 												(iLtsyDispatchCallControlHandler);
       
   267 		break;
       
   268 	case MLtsyDispatchCallControlDialEmergency::KLtsyDispatchCallControlDialEmergencyApiId:
       
   269 		aDispatchInterface = static_cast<MLtsyDispatchCallControlDialEmergency*>
       
   270 												(iLtsyDispatchCallControlHandler);
       
   271 		break;
       
   272 	case MLtsyDispatchCallControlStopDtmfTone::KLtsyDispatchCallControlStopDtmfToneApiId:
       
   273 		aDispatchInterface = static_cast<MLtsyDispatchCallControlStopDtmfTone*>
       
   274 												(iLtsyDispatchCallControlHandler);
       
   275 		break;
       
   276 	case MLtsyDispatchCallControlSetActiveAlsLine::KLtsyDispatchCallControlSetActiveAlsLineApiId:
       
   277 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSetActiveAlsLine*>
       
   278 												(iLtsyDispatchCallControlHandler);
       
   279 		break;
       
   280 	case MLtsyDispatchCallControlSendDtmfTonesCancel::KLtsyDispatchCallControlSendDtmfTonesCancelApiId:
       
   281 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSendDtmfTonesCancel*>
       
   282 												(iLtsyDispatchCallControlHandler);
       
   283 		break;
       
   284 	case MLtsyDispatchCallControlHangUp::KLtsyDispatchCallControlHangUpApiId:
       
   285 		aDispatchInterface = static_cast<MLtsyDispatchCallControlHangUp*>
       
   286 												(iLtsyDispatchCallControlHandler);
       
   287 		break;
       
   288 	case MLtsyDispatchCallControlResume::KLtsyDispatchCallControlResumeApiId:
       
   289 		aDispatchInterface = static_cast<MLtsyDispatchCallControlResume*>
       
   290 												(iLtsyDispatchCallControlHandler);
       
   291 		break;
       
   292 	case MLtsyDispatchCallControlSetDynamicHscsdParams::KLtsyDispatchCallControlSetDynamicHscsdParamsApiId:
       
   293 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSetDynamicHscsdParams*>
       
   294 												(iLtsyDispatchCallControlHandler);
       
   295 		break;
       
   296 	case MLtsyDispatchCallControlDialVoice::KLtsyDispatchCallControlDialVoiceApiId:
       
   297 		aDispatchInterface = static_cast<MLtsyDispatchCallControlDialVoice*>
       
   298 												(iLtsyDispatchCallControlHandler);
       
   299 		break;
       
   300 	case MLtsyDispatchCallControlTransfer::KLtsyDispatchCallControlTransferApiId:
       
   301 		aDispatchInterface = static_cast<MLtsyDispatchCallControlTransfer*>
       
   302 												(iLtsyDispatchCallControlHandler);
       
   303 		break;
       
   304 	case MLtsyDispatchCallControlSendDtmfTones::KLtsyDispatchCallControlSendDtmfTonesApiId:
       
   305 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSendDtmfTones*>
       
   306 												(iLtsyDispatchCallControlHandler);
       
   307 		break;
       
   308 	case MLtsyDispatchCallControlGetIdentityServiceStatus::KLtsyDispatchCallControlGetIdentityServiceStatusApiId:
       
   309 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetIdentityServiceStatus*>
       
   310 												(iLtsyDispatchCallControlHandler);
       
   311 		break;
       
   312 	case MLtsyDispatchCallControlSwap::KLtsyDispatchCallControlSwapApiId:
       
   313 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSwap*>
       
   314 												(iLtsyDispatchCallControlHandler);
       
   315 		break;
       
   316 	case MLtsyDispatchCallControlLoanDataPort::KLtsyDispatchCallControlLoanDataPortApiId:
       
   317 		aDispatchInterface = static_cast<MLtsyDispatchCallControlLoanDataPort*>
       
   318 												(iLtsyDispatchCallControlHandler);
       
   319 		break;
       
   320 	case MLtsyDispatchCallControlRecoverDataPort::KLtsyDispatchCallControlRecoverDataPortApiId:
       
   321 		aDispatchInterface = static_cast<MLtsyDispatchCallControlRecoverDataPort*>
       
   322 												(iLtsyDispatchCallControlHandler);
       
   323 		break;
       
   324 	case MLtsyDispatchCallControlStartDtmfTone::KLtsyDispatchCallControlStartDtmfToneApiId:
       
   325 		aDispatchInterface = static_cast<MLtsyDispatchCallControlStartDtmfTone*>
       
   326 												(iLtsyDispatchCallControlHandler);
       
   327 		break;
       
   328 	case MLtsyDispatchCallControlGetActiveAlsLine::KLtsyDispatchCallControlGetActiveAlsLineApiId:
       
   329 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetActiveAlsLine*>
       
   330 												(iLtsyDispatchCallControlHandler);
       
   331 		break;
       
   332 	case MLtsyDispatchCallControlDialData::KLtsyDispatchCallControlDialDataApiId:
       
   333 		aDispatchInterface = static_cast<MLtsyDispatchCallControlDialData*>
       
   334 												(iLtsyDispatchCallControlHandler);
       
   335 		break;
       
   336 	case MLtsyDispatchCallControlQueryIsEmergencyNumber::KLtsyDispatchCallControlQueryIsEmergencyNumberApiId:
       
   337 		aDispatchInterface = static_cast<MLtsyDispatchCallControlQueryIsEmergencyNumber*>
       
   338 												(iLtsyDispatchCallControlHandler);
       
   339 		break;
       
   340 	case MLtsyDispatchCallControlGetAlsPpSupport::KLtsyDispatchCallControlGetAlsPpSupportApiId:
       
   341 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetAlsPpSupport*>
       
   342 												(iLtsyDispatchCallControlHandler);
       
   343 		break;
       
   344 	case MLtsyDispatchCallControlGetAlsBlockedStatus::KLtsyDispatchCallControlGetAlsBlockedStatusApiId:
       
   345 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetAlsBlockedStatus*>
       
   346 												(iLtsyDispatchCallControlHandler);
       
   347 		break;
       
   348 	case MLtsyDispatchCallControlSetAlsBlocked::KLtsyDispatchCallControlSetAlsBlockedApiId:
       
   349 		aDispatchInterface = static_cast<MLtsyDispatchCallControlSetAlsBlocked*>
       
   350 												(iLtsyDispatchCallControlHandler);
       
   351 		break;
       
   352 	case MLtsyDispatchCallControlGetLifeTime::KLtsyDispatchCallControlGetLifeTimeApiId:
       
   353 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetLifeTime*>
       
   354 												(iLtsyDispatchCallControlHandler);
       
   355 		break;
       
   356 	case MLtsyDispatchCallControlTerminateErrorCall::KLtsyDispatchCallControlTerminateErrorCallApiId:
       
   357 		aDispatchInterface = static_cast<MLtsyDispatchCallControlTerminateErrorCall*>
       
   358 												(iLtsyDispatchCallControlHandler);
       
   359         break;
       
   360 	case MLtsyDispatchCallControlTerminateAllCalls::KLtsyDispatchCallControlTerminateAllCallsApiId:
       
   361 		aDispatchInterface = static_cast<MLtsyDispatchCallControlTerminateAllCalls*>
       
   362 												(iLtsyDispatchCallControlHandler);
       
   363 		break;
       
   364 	case MLtsyDispatchCallControlGetCallForwardingIndicator::KLtsyDispatchCallControlGetCallForwardingIndicatorApiId:
       
   365 		aDispatchInterface = static_cast<MLtsyDispatchCallControlGetCallForwardingIndicator*>
       
   366 												(iLtsyDispatchCallControlHandler);
       
   367 		break;
       
   368 	case MLtsyDispatchCallControlUpdateLifeTimer::KLtsyDispatchCallControlUpdateLifeTimerApiId:
       
   369 		aDispatchInterface = static_cast<MLtsyDispatchCallControlUpdateLifeTimer*>
       
   370 												(iLtsyDispatchCallControlHandler);
       
   371 		break;
       
   372 
       
   373 		// Phone Functional Unit interface handlers
       
   374 
       
   375 	case MLtsyDispatchPhoneGetServiceProviderName::KLtsyDispatchPhoneGetServiceProviderNameApiId:
       
   376 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetServiceProviderName*>
       
   377 												(iLtsyDispatchPhoneHandler);
       
   378 		break;
       
   379 	case MLtsyDispatchPhoneGetPhoneId::KLtsyDispatchPhoneGetPhoneIdApiId:
       
   380 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetPhoneId*>
       
   381 												(iLtsyDispatchPhoneHandler);
       
   382 		break;
       
   383 	case MLtsyDispatchPhoneGetDetectedNetworks::KLtsyDispatchPhoneGetDetectedNetworksApiId:
       
   384 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetDetectedNetworks*>
       
   385 												(iLtsyDispatchPhoneHandler);
       
   386 		break;
       
   387 	case MLtsyDispatchPhoneGetDetectedNetworksCancel::KLtsyDispatchPhoneGetDetectedNetworksCancelApiId:
       
   388 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetDetectedNetworksCancel*>
       
   389 												(iLtsyDispatchPhoneHandler);
       
   390 		break;
       
   391 	case MLtsyDispatchPhoneSelectNetwork::KLtsyDispatchPhoneSelectNetworkApiId:
       
   392 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSelectNetwork*>
       
   393 												(iLtsyDispatchPhoneHandler);
       
   394 		break;
       
   395 	case MLtsyDispatchPhoneSelectNetworkCancel::KLtsyDispatchPhoneSelectNetworkCancelApiId:
       
   396 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSelectNetworkCancel*>
       
   397 												(iLtsyDispatchPhoneHandler);
       
   398 		break;
       
   399 	case MLtsyDispatchPhoneSetNetworkSelectionSetting::KLtsyDispatchPhoneSetNetworkSelectionSettingApiId:
       
   400 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetNetworkSelectionSetting*>
       
   401 												(iLtsyDispatchPhoneHandler);
       
   402 		break;
       
   403 	case MLtsyDispatchPhoneGetCurrentNetworkInfo::KLtsyDispatchPhoneGetCurrentNetworkInfoApiId:
       
   404 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetCurrentNetworkInfo*>
       
   405 												(iLtsyDispatchPhoneHandler);
       
   406 		break;
       
   407 	case MLtsyDispatchPhoneGetNetworkMode::KLtsyDispatchPhoneGetNetworkModeApiId:
       
   408 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetNetworkMode*>
       
   409 												(iLtsyDispatchPhoneHandler);
       
   410 		break;
       
   411 	case MLtsyDispatchPhoneGetNitzInfo::KLtsyDispatchPhoneGetNitzInfoApiId:
       
   412 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetNitzInfo*>
       
   413 												(iLtsyDispatchPhoneHandler);
       
   414 		break;
       
   415 	case MLtsyDispatchPhoneGetSignalStrength::KLtsyDispatchPhoneGetSignalStrengthApiId:
       
   416 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetSignalStrength*>
       
   417 												(iLtsyDispatchPhoneHandler);
       
   418 		break;
       
   419 	case MLtsyDispatchPhoneGetBatteryInfo::KLtsyDispatchPhoneGetBatteryInfoApiId:
       
   420 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetBatteryInfo*>
       
   421 												(iLtsyDispatchPhoneHandler);
       
   422 		break;
       
   423 	case MLtsyDispatchPhoneRegisterCellInfoChangeNotification::KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId:
       
   424 		aDispatchInterface = static_cast<MLtsyDispatchPhoneRegisterCellInfoChangeNotification*>
       
   425 												(iLtsyDispatchPhoneHandler);
       
   426 		break;
       
   427 	case MLtsyDispatchPhoneGetPhoneCellInfo::KLtsyDispatchPhoneGetPhoneCellInfoApiId:
       
   428 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetPhoneCellInfo*>
       
   429 												(iLtsyDispatchPhoneHandler);
       
   430 		break;
       
   431 	case MLtsyDispatchPhoneGetUsimServiceSupport::KLtsyDispatchPhoneGetUsimServiceSupportApiId:
       
   432 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetUsimServiceSupport*>
       
   433 												(iLtsyDispatchPhoneHandler);
       
   434 		break;
       
   435 	case MLtsyDispatchPhoneGetCurrentActiveUsimApplication::KLtsyDispatchPhoneGetCurrentActiveUsimApplicationApiId:
       
   436 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetCurrentActiveUsimApplication*>
       
   437 												(iLtsyDispatchPhoneHandler);
       
   438 		break;
       
   439 	case MLtsyDispatchPhoneTerminateAllCalls::KLtsyDispatchPhoneTerminateAllCallsApiId:
       
   440 		aDispatchInterface = static_cast<MLtsyDispatchPhoneTerminateAllCalls*>
       
   441 												(iLtsyDispatchPhoneHandler);
       
   442 		break;
       
   443 	case MLtsyDispatchPhoneGetSystemNetworkBand::KLtsyDispatchPhoneGetSystemNetworkBandApiId:
       
   444 		aDispatchInterface = static_cast<MLtsyDispatchPhoneGetSystemNetworkBand*>
       
   445 												(iLtsyDispatchPhoneHandler);
       
   446 		break;
       
   447 	case MLtsyDispatchPhoneSetSystemNetworkBand::KLtsyDispatchPhoneSetSystemNetworkBandApiId:
       
   448 		aDispatchInterface = static_cast<MLtsyDispatchPhoneSetSystemNetworkBand*>
       
   449 												(iLtsyDispatchPhoneHandler);
       
   450 		break;		
       
   451 		
       
   452 		// Security Functional Unit interface handlers
       
   453 
       
   454 	case MLtsyDispatchSecurityGetSecurityCodeInfo::KLtsyDispatchSecurityGetSecurityCodeInfoApiId:
       
   455 		aDispatchInterface = static_cast<MLtsyDispatchSecurityGetSecurityCodeInfo*>
       
   456 												(iLtsyDispatchSecurityHandler);
       
   457 		break;
       
   458 	case MLtsyDispatchSecurityGetLockInfo::KLtsyDispatchSecurityGetLockInfoApiId:
       
   459 		aDispatchInterface = static_cast<MLtsyDispatchSecurityGetLockInfo*>
       
   460 												(iLtsyDispatchSecurityHandler);
       
   461 		break;
       
   462 	case MLtsyDispatchSecurityAbortSecurityCode::KLtsyDispatchSecurityAbortSecurityCodeApiId:
       
   463 		aDispatchInterface = static_cast<MLtsyDispatchSecurityAbortSecurityCode*>
       
   464 												(iLtsyDispatchSecurityHandler);
       
   465 		break;
       
   466 	case MLtsyDispatchSecurityGetCurrentActivePin::KLtsyDispatchSecurityGetCurrentActivePinApiId:
       
   467 		aDispatchInterface = static_cast<MLtsyDispatchSecurityGetCurrentActivePin*>
       
   468 												(iLtsyDispatchSecurityHandler);
       
   469 		break;
       
   470 	case MLtsyDispatchSecuritySetLockSetting::KLtsyDispatchSecuritySetLockSettingApiId:
       
   471 		aDispatchInterface = static_cast<MLtsyDispatchSecuritySetLockSetting*>
       
   472 												(iLtsyDispatchSecurityHandler);
       
   473 		break;
       
   474 	case MLtsyDispatchSecurityVerifySecurityCode::KLtsyDispatchSecurityVerifySecurityCodeApiId:
       
   475 		aDispatchInterface = static_cast<MLtsyDispatchSecurityVerifySecurityCode*>
       
   476 												(iLtsyDispatchSecurityHandler);
       
   477 		break;
       
   478 	case MLtsyDispatchSecurityGetPin1DisableSupported::KLtsyDispatchSecurityGetPin1DisableSupportedApiId:
       
   479 		aDispatchInterface = static_cast<MLtsyDispatchSecurityGetPin1DisableSupported*>
       
   480 												(iLtsyDispatchSecurityHandler);
       
   481 		break;
       
   482 	case MLtsyDispatchSecurityCheckSecurityCode::KLtsyDispatchSecurityCheckSecurityCodeApiId:
       
   483 		aDispatchInterface = static_cast<MLtsyDispatchSecurityCheckSecurityCode*>
       
   484 												(iLtsyDispatchSecurityHandler);
       
   485 		break;
       
   486 	case MLtsyDispatchSecurityDisablePhoneLock::KLtsyDispatchSecurityDisablePhoneLockApiId:
       
   487 		aDispatchInterface = static_cast<MLtsyDispatchSecurityDisablePhoneLock*>
       
   488 												(iLtsyDispatchSecurityHandler);
       
   489 		break;
       
   490 	case MLtsyDispatchSecurityGetCipheringInfo::KLtsyDispatchSecurityGetCipheringInfoApiId:
       
   491 		aDispatchInterface = static_cast<MLtsyDispatchSecurityGetCipheringInfo*>
       
   492 												(iLtsyDispatchSecurityHandler);
       
   493 		break;
       
   494 	case MLtsyDispatchSecurityIsSecurityCodeBlocked::KLtsyDispatchSecurityIsSecurityCodeBlockedApiId:
       
   495 		aDispatchInterface = static_cast<MLtsyDispatchSecurityIsSecurityCodeBlocked*>
       
   496 												(iLtsyDispatchSecurityHandler);
       
   497 		break;
       
   498 	case MLtsyDispatchSecurityCheckSecurityCodeCancel::KLtsyDispatchSecurityCheckSecurityCodeCancelApiId:
       
   499 		aDispatchInterface = static_cast<MLtsyDispatchSecurityCheckSecurityCodeCancel*>
       
   500 												(iLtsyDispatchSecurityHandler);
       
   501 		break;												
       
   502 				
       
   503 		// PhonebookEn Functional Unit interface handlers
       
   504 
       
   505 	case MLtsyDispatchPhonebookEnStoreGetInfo::KLtsyDispatchPhonebookEnStoreGetInfoApiId:
       
   506 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookEnStoreGetInfo*>
       
   507 												(iLtsyDispatchPhonebookEnHandler);
       
   508 		break;
       
   509 	case MLtsyDispatchPhonebookEnStoreReadAll::KLtsyDispatchPhonebookEnStoreReadAllApiId:
       
   510 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookEnStoreReadAll*>
       
   511 												(iLtsyDispatchPhonebookEnHandler);
       
   512 		break;
       
   513 	case MLtsyDispatchPhonebookEnStoreReadEntry::KLtsyDispatchPhonebookEnStoreReadEntryApiId:
       
   514 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookEnStoreReadEntry*>
       
   515 												(iLtsyDispatchPhonebookEnHandler);
       
   516 		break;
       
   517 
       
   518 		// CellBroadcast Functional Unit interface handlers
       
   519 
       
   520 	case MLtsyDispatchCellBroadcastSetBroadcastFilterSetting::KLtsyDispatchCellBroadcastSetBroadcastFilterSettingApiId:
       
   521 		aDispatchInterface = static_cast<MLtsyDispatchCellBroadcastSetBroadcastFilterSetting*>
       
   522 												(iLtsyDispatchCellBroadcastHandler);
       
   523 		break;
       
   524 	case MLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage::KLtsyDispatchCellBroadcastActivateBroadcastReceiveMessageApiId:
       
   525 		aDispatchInterface = static_cast<MLtsyDispatchCellBroadcastActivateBroadcastReceiveMessage*>
       
   526 												(iLtsyDispatchCellBroadcastHandler);
       
   527 		break;
       
   528 	case MLtsyDispatchCellBroadcastReceiveMessageCancel::KLtsyDispatchCellBroadcastReceiveMessageCancelApiId:
       
   529 		aDispatchInterface = static_cast<MLtsyDispatchCellBroadcastReceiveMessageCancel*>
       
   530 												(iLtsyDispatchCellBroadcastHandler);
       
   531 		break;
       
   532 	case MLtsyDispatchCellBroadcastStartSimCbTopicBrowsing::KLtsyDispatchCellBroadcastStartSimCbTopicBrowsingApiId:
       
   533 		aDispatchInterface = static_cast<MLtsyDispatchCellBroadcastStartSimCbTopicBrowsing*>
       
   534 												(iLtsyDispatchCellBroadcastHandler);
       
   535 		break;		
       
   536 	case MLtsyDispatchCellBroadcastDeleteSimCbTopic::KLtsyDispatchCellBroadcastDeleteSimCbTopicApiId:
       
   537 		aDispatchInterface = static_cast<MLtsyDispatchCellBroadcastDeleteSimCbTopic*>
       
   538 												(iLtsyDispatchCellBroadcastHandler);
       
   539 		break;		
       
   540 
       
   541 		// PhonebookOn Functional Unit interface handlers
       
   542 
       
   543 	case MLtsyDispatchPhonebookOnStoreRead::KLtsyDispatchPhonebookOnStoreReadApiId:
       
   544 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreRead*>
       
   545 												(iLtsyDispatchPhonebookOnHandler);
       
   546 		break;
       
   547 	case MLtsyDispatchPhonebookOnStoreDeleteAll::KLtsyDispatchPhonebookOnStoreDeleteAllApiId:
       
   548 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreDeleteAll*>
       
   549 												(iLtsyDispatchPhonebookOnHandler);
       
   550 		break;
       
   551 	case MLtsyDispatchPhonebookOnStoreReadEntry::KLtsyDispatchPhonebookOnStoreReadEntryApiId:
       
   552 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreReadEntry*>
       
   553 												(iLtsyDispatchPhonebookOnHandler);
       
   554 		break;
       
   555 	case MLtsyDispatchPhonebookOnStoreGetInfo::KLtsyDispatchPhonebookOnStoreGetInfoApiId:
       
   556 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreGetInfo*>
       
   557 												(iLtsyDispatchPhonebookOnHandler);
       
   558 		break;
       
   559 	case MLtsyDispatchPhonebookOnStoreGetReadStoreSize::KLtsyDispatchPhonebookOnStoreGetReadStoreSizeApiId:
       
   560 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreGetReadStoreSize*>
       
   561 												(iLtsyDispatchPhonebookOnHandler);
       
   562 		break;
       
   563 	case MLtsyDispatchPhonebookOnStoreDeleteEntry::KLtsyDispatchPhonebookOnStoreDeleteEntryApiId:
       
   564 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreDeleteEntry*>
       
   565 												(iLtsyDispatchPhonebookOnHandler);
       
   566 		break;
       
   567 	case MLtsyDispatchPhonebookOnStoreWriteEntry::KLtsyDispatchPhonebookOnStoreWriteEntryApiId:
       
   568 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreWriteEntry*>
       
   569 												(iLtsyDispatchPhonebookOnHandler);
       
   570 		break;
       
   571 	case MLtsyDispatchPhonebookOnStoreWrite::KLtsyDispatchPhonebookOnStoreWriteApiId:
       
   572 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreWrite*>
       
   573 												(iLtsyDispatchPhonebookOnHandler);
       
   574 		break;
       
   575 	case MLtsyDispatchPhonebookOnStoreGetStoreSize::KLtsyDispatchPhonebookOnStoreGetStoreSizeApiId:
       
   576 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookOnStoreGetStoreSize*>
       
   577 												(iLtsyDispatchPhonebookOnHandler);
       
   578 		break;
       
   579 
       
   580 		// Phonebook Functional Unit interface handlers
       
   581 
       
   582 	case MLtsyDispatchPhonebookStoreReadEntry::KLtsyDispatchPhonebookStoreReadEntryApiId:
       
   583 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreReadEntry*>
       
   584 												(iLtsyDispatchPhonebookHandler);
       
   585 		break;
       
   586 	case MLtsyDispatchPhonebookStoreDeleteEntry::KLtsyDispatchPhonebookStoreDeleteEntryApiId:
       
   587 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreDeleteEntry*>
       
   588 												(iLtsyDispatchPhonebookHandler);
       
   589 		break;
       
   590 	case MLtsyDispatchPhonebookStoreCache::KLtsyDispatchPhonebookStoreCacheApiId:
       
   591 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreCache*>
       
   592 												(iLtsyDispatchPhonebookHandler);
       
   593 		break;
       
   594 	case MLtsyDispatchPhonebookStoreGetPhonebookInfo::KLtsyDispatchPhonebookStoreGetPhonebookInfoApiId:
       
   595 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreGetPhonebookInfo*>
       
   596 												(iLtsyDispatchPhonebookHandler);
       
   597 		break;
       
   598 	case MLtsyDispatchPhonebookStoreInitialise::KLtsyDispatchPhonebookStoreInitialiseApiId:
       
   599 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreInitialise*>
       
   600 												(iLtsyDispatchPhonebookHandler);
       
   601 		break;
       
   602 	case MLtsyDispatchPhonebookStoreDeleteAll::KLtsyDispatchPhonebookStoreDeleteAllApiId:
       
   603 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreDeleteAll*>
       
   604 												(iLtsyDispatchPhonebookHandler);
       
   605 		break;
       
   606 	case MLtsyDispatchPhonebookSmsStoreReadAll::KLtsyDispatchPhonebookSmsStoreReadAllApiId:
       
   607 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreReadAll*>
       
   608 												(iLtsyDispatchPhonebookHandler);
       
   609 		break;
       
   610 	case MLtsyDispatchPhonebookStoreWriteEntry::KLtsyDispatchPhonebookStoreWriteEntryApiId:
       
   611 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreWriteEntry*>
       
   612 												(iLtsyDispatchPhonebookHandler);
       
   613 		break;
       
   614 	case MLtsyDispatchPhonebookGetPhoneStoreInfo::KLtsyDispatchPhonebookGetPhoneStoreInfoApiId:
       
   615 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookGetPhoneStoreInfo*>
       
   616 												(iLtsyDispatchPhonebookHandler);
       
   617 		break;
       
   618 	case MLtsyDispatchPhonebookSmsStoreDeleteEntry::KLtsyDispatchPhonebookSmsStoreDeleteEntryApiId:
       
   619 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreDeleteEntry*>
       
   620 												(iLtsyDispatchPhonebookHandler);
       
   621 		break;
       
   622 	case MLtsyDispatchPhonebookSmsStoreDeleteAll::KLtsyDispatchPhonebookSmsStoreDeleteAllApiId:
       
   623 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreDeleteAll*>
       
   624 												(iLtsyDispatchPhonebookHandler);
       
   625 		break;
       
   626 	case MLtsyDispatchPhonebookSmsStoreGetInfo::KLtsyDispatchPhonebookSmsStoreGetInfoApiId:
       
   627 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreGetInfo*>
       
   628 												(iLtsyDispatchPhonebookHandler);
       
   629 		break;
       
   630 	case MLtsyDispatchPhonebookSmsStoreReadEntry::KLtsyDispatchPhonebookSmsStoreReadEntryApiId:
       
   631 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreReadEntry*>
       
   632 												(iLtsyDispatchPhonebookHandler);
       
   633 		break;
       
   634 	case MLtsyDispatchPhonebookSmsStoreWriteEntry::KLtsyDispatchPhonebookSmsStoreWriteEntryApiId:
       
   635 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookSmsStoreWriteEntry*>
       
   636 												(iLtsyDispatchPhonebookHandler);
       
   637 		break;
       
   638 	case MLtsyDispatchPhonebookStoreCacheCancel::KLtsyDispatchPhonebookStoreCacheCancelApiId:
       
   639 		aDispatchInterface = static_cast<MLtsyDispatchPhonebookStoreCacheCancel*>
       
   640 												(iLtsyDispatchPhonebookHandler);
       
   641 		break;
       
   642 
       
   643 		// Sim Functional Unit interface handlers
       
   644 
       
   645 	case MLtsyDispatchSimGetApnControlListServiceStatus::KLtsyDispatchSimGetApnControlListServiceStatusApiId:
       
   646 		aDispatchInterface = static_cast<MLtsyDispatchSimGetApnControlListServiceStatus*>
       
   647 												(iLtsyDispatchSimHandler);
       
   648 		break;
       
   649 	case MLtsyDispatchSimDeleteApnName::KLtsyDispatchSimDeleteApnNameApiId:
       
   650 		aDispatchInterface = static_cast<MLtsyDispatchSimDeleteApnName*>
       
   651 												(iLtsyDispatchSimHandler);
       
   652 		break;
       
   653 	case MLtsyDispatchSimEnumerateApnEntries::KLtsyDispatchSimEnumerateApnEntriesApiId:
       
   654 		aDispatchInterface = static_cast<MLtsyDispatchSimEnumerateApnEntries*>
       
   655 												(iLtsyDispatchSimHandler);
       
   656 		break;
       
   657 	case MLtsyDispatchSimChangeSecurityCode::KLtsyDispatchSimChangeSecurityCodeApiId:
       
   658 		aDispatchInterface = static_cast<MLtsyDispatchSimChangeSecurityCode*>
       
   659 												(iLtsyDispatchSimHandler);
       
   660 		break;
       
   661 	case MLtsyDispatchSimSetFdnSetting::KLtsyDispatchSimSetFdnSettingApiId:
       
   662 		aDispatchInterface = static_cast<MLtsyDispatchSimSetFdnSetting*>
       
   663 												(iLtsyDispatchSimHandler);
       
   664 		break;
       
   665 	case MLtsyDispatchSimGetCustomerServiceProfile::KLtsyDispatchSimGetCustomerServiceProfileApiId:
       
   666 		aDispatchInterface = static_cast<MLtsyDispatchSimGetCustomerServiceProfile*>
       
   667 												(iLtsyDispatchSimHandler);
       
   668 		break;
       
   669 	case MLtsyDispatchSimGetSubscriberId::KLtsyDispatchSimGetSubscriberIdApiId:
       
   670 		aDispatchInterface = static_cast<MLtsyDispatchSimGetSubscriberId*>
       
   671 												(iLtsyDispatchSimHandler);
       
   672 		break;
       
   673 	case MLtsyDispatchSimAppendApnName::KLtsyDispatchSimAppendApnNameApiId:
       
   674 		aDispatchInterface = static_cast<MLtsyDispatchSimAppendApnName*>
       
   675 												(iLtsyDispatchSimHandler);
       
   676 		break;
       
   677 	case MLtsyDispatchSimGetActiveIccApplicationType::KLtsyDispatchSimGetActiveIccApplicationTypeApiId:
       
   678 		aDispatchInterface = static_cast<MLtsyDispatchSimGetActiveIccApplicationType*>
       
   679 												(iLtsyDispatchSimHandler);
       
   680 		break;
       
   681 	case MLtsyDispatchSimSetIccMessageWaitingIndicators::KLtsyDispatchSimSetIccMessageWaitingIndicatorsApiId:
       
   682 		aDispatchInterface = static_cast<MLtsyDispatchSimSetIccMessageWaitingIndicators*>
       
   683 												(iLtsyDispatchSimHandler);
       
   684 		break;
       
   685 	case MLtsyDispatchSimSetApnControlListServiceStatus::KLtsyDispatchSimSetApnControlListServiceStatusApiId:
       
   686 		aDispatchInterface = static_cast<MLtsyDispatchSimSetApnControlListServiceStatus*>
       
   687 												(iLtsyDispatchSimHandler);
       
   688 		break;
       
   689 	case MLtsyDispatchSimGetApnName::KLtsyDispatchSimGetApnNameApiId:
       
   690 		aDispatchInterface = static_cast<MLtsyDispatchSimGetApnName*>
       
   691 												(iLtsyDispatchSimHandler);
       
   692 		break;
       
   693 	case MLtsyDispatchSimSimRefreshDone::KLtsyDispatchSimSimRefreshDoneApiId:
       
   694 		aDispatchInterface = static_cast<MLtsyDispatchSimSimRefreshDone*>
       
   695 												(iLtsyDispatchSimHandler);
       
   696 		break;
       
   697 	case MLtsyDispatchSimGetServiceTable::KLtsyDispatchSimGetServiceTableApiId:
       
   698 		aDispatchInterface = static_cast<MLtsyDispatchSimGetServiceTable*>
       
   699 												(iLtsyDispatchSimHandler);
       
   700 		break;
       
   701 	case MLtsyDispatchSimGetIccMessageWaitingIndicators::KLtsyDispatchSimGetIccMessageWaitingIndicatorsApiId:
       
   702 		aDispatchInterface = static_cast<MLtsyDispatchSimGetIccMessageWaitingIndicators*>
       
   703 												(iLtsyDispatchSimHandler);
       
   704 		break;
       
   705 	case MLtsyDispatchSimSimLockActivate::KLtsyDispatchSimSimLockActivateApiId:
       
   706 			aDispatchInterface = static_cast<MLtsyDispatchSimSimLockActivate*>
       
   707 													(iLtsyDispatchSimHandler);
       
   708 		break;
       
   709 	case MLtsyDispatchSimSimLockDeActivate::KLtsyDispatchSimSimLockDeActivateApiId:
       
   710 		aDispatchInterface = static_cast<MLtsyDispatchSimSimLockDeActivate*>
       
   711 												(iLtsyDispatchSimHandler);
       
   712 		break;
       
   713 	case MLtsyDispatchSimGetAnswerToReset::KLtsyDispatchSimGetAnswerToResetApiId:
       
   714 		aDispatchInterface = static_cast<MLtsyDispatchSimGetAnswerToReset*>
       
   715 												(iLtsyDispatchSimHandler);
       
   716 		break;
       
   717 	case MLtsyDispatchSimGetSimCardReaderStatus::KLtsyDispatchSimGetSimCardReaderStatusApiId:
       
   718 		aDispatchInterface = static_cast<MLtsyDispatchSimGetSimCardReaderStatus*>
       
   719 												(iLtsyDispatchSimHandler);
       
   720 		break;
       
   721 	case MLtsyDispatchSimGetSimAuthenticationEapSimData::KLtsyDispatchSimGetSimAuthenticationEapSimDataApiId:
       
   722 		aDispatchInterface = static_cast<MLtsyDispatchSimGetSimAuthenticationEapSimData*>
       
   723 												(iLtsyDispatchSimHandler);
       
   724 		break;
       
   725 	case MLtsyDispatchSimGetSimAuthenticationEapAkaData::KLtsyDispatchSimGetSimAuthenticationEapAkaDataApiId:
       
   726 		aDispatchInterface = static_cast<MLtsyDispatchSimGetSimAuthenticationEapAkaData*>
       
   727 												(iLtsyDispatchSimHandler);
       
   728 		break;
       
   729 	case MLtsyDispatchSimPowerSimOff::KLtsyDispatchSimPowerSimOffApiId:
       
   730 		aDispatchInterface = static_cast<MLtsyDispatchSimPowerSimOff*>
       
   731 												(iLtsyDispatchSimHandler);
       
   732 		break;
       
   733 	case MLtsyDispatchSimPowerSimOn::KLtsyDispatchSimPowerSimOnApiId:
       
   734 		aDispatchInterface = static_cast<MLtsyDispatchSimPowerSimOn*>
       
   735 												(iLtsyDispatchSimHandler);
       
   736 		break;
       
   737 	case MLtsyDispatchSimReadSimFile::KLtsyDispatchSimReadSimFileApiId:
       
   738 		aDispatchInterface = static_cast<MLtsyDispatchSimReadSimFile*>
       
   739 												(iLtsyDispatchSimHandler);
       
   740 		break;
       
   741 	case MLtsyDispatchSimSendApduRequest::KLtsyDispatchSimSendApduRequestApiId:
       
   742 			aDispatchInterface = static_cast<MLtsyDispatchSimSendApduRequest*>
       
   743 													(iLtsyDispatchSimHandler);
       
   744 			break;
       
   745 	case MLtsyDispatchSimSendApduRequestV2::KLtsyDispatchSimSendApduRequestV2ApiId:
       
   746 		aDispatchInterface = static_cast<MLtsyDispatchSimSendApduRequestV2*>
       
   747 												(iLtsyDispatchSimHandler);
       
   748 		break;
       
   749 	case MLtsyDispatchSimSimWarmReset::KLtsyDispatchSimSimWarmResetApiId:
       
   750 		aDispatchInterface = static_cast<MLtsyDispatchSimSimWarmReset*>
       
   751 												(iLtsyDispatchSimHandler);
       
   752 		break;
       
   753 	case MLtsyDispatchSimSetSimMessageStatusRead::KLtsyDispatchSimSetSimMessageStatusReadApiId:
       
   754 		aDispatchInterface = static_cast<MLtsyDispatchSimSetSimMessageStatusRead*>
       
   755 												(iLtsyDispatchSimHandler);
       
   756 		break;
       
   757 
       
   758 		// Sms Functional Unit interface handlers
       
   759 
       
   760 	case MLtsyDispatchSmsSendSatSms::KLtsyDispatchSmsSendSatSmsApiId:
       
   761 		aDispatchInterface = static_cast<MLtsyDispatchSmsSendSatSms*>
       
   762 												(iLtsyDispatchSmsHandler);
       
   763 		break;
       
   764 	case MLtsyDispatchSmsGetSmsStoreInfo::KLtsyDispatchSmsGetSmsStoreInfoApiId:
       
   765 		aDispatchInterface = static_cast<MLtsyDispatchSmsGetSmsStoreInfo*>
       
   766 												(iLtsyDispatchSmsHandler);
       
   767 		break;
       
   768 	case MLtsyDispatchSmsGetSmspList::KLtsyDispatchSmsGetSmspListApiId:
       
   769 		aDispatchInterface = static_cast<MLtsyDispatchSmsGetSmspList*>
       
   770 												(iLtsyDispatchSmsHandler);
       
   771 		break;
       
   772 	case MLtsyDispatchSmsNackSmsStored::KLtsyDispatchSmsNackSmsStoredApiId:
       
   773 		aDispatchInterface = static_cast<MLtsyDispatchSmsNackSmsStored*>
       
   774 												(iLtsyDispatchSmsHandler);
       
   775 		break;
       
   776 	case MLtsyDispatchSmsAckSmsStored::KLtsyDispatchSmsAckSmsStoredApiId:
       
   777 		aDispatchInterface = static_cast<MLtsyDispatchSmsAckSmsStored*>
       
   778 												(iLtsyDispatchSmsHandler);
       
   779 		break;
       
   780 	case MLtsyDispatchSmsResumeSmsReception::KLtsyDispatchSmsResumeSmsReceptionApiId:
       
   781 		aDispatchInterface = static_cast<MLtsyDispatchSmsResumeSmsReception*>
       
   782 												(iLtsyDispatchSmsHandler);
       
   783 		break;
       
   784 	case MLtsyDispatchSmsSendSmsMessage::KLtsyDispatchSmsSendSmsMessageApiId:
       
   785 		aDispatchInterface = static_cast<MLtsyDispatchSmsSendSmsMessage*>
       
   786 												(iLtsyDispatchSmsHandler);
       
   787 		break;
       
   788 	case MLtsyDispatchSmsSendSmsMessageNoFdnCheck::KLtsyDispatchSmsSendSmsMessageNoFdnCheckApiId:
       
   789 		aDispatchInterface = static_cast<MLtsyDispatchSmsSendSmsMessageNoFdnCheck*>
       
   790 												(iLtsyDispatchSmsHandler);
       
   791 		break;
       
   792 	case MLtsyDispatchSmsSetMoSmsBearer::KLtsyDispatchSmsSetMoSmsBearerApiId:
       
   793 		aDispatchInterface = static_cast<MLtsyDispatchSmsSetMoSmsBearer*>
       
   794 												(iLtsyDispatchSmsHandler);
       
   795 		break;
       
   796 	case MLtsyDispatchSmsStoreSmspListEntry::KLtsyDispatchSmsStoreSmspListEntryApiId:
       
   797 		aDispatchInterface = static_cast<MLtsyDispatchSmsStoreSmspListEntry*>
       
   798 												(iLtsyDispatchSmsHandler);
       
   799 		break;
       
   800 
       
   801 		// CallControlMultiparty Functional Unit interface handlers
       
   802 
       
   803 	case MLtsyDispatchCallControlMultipartyConferenceHangUp::KLtsyDispatchCallControlMultipartyConferenceHangUpApiId:
       
   804 		aDispatchInterface = static_cast<MLtsyDispatchCallControlMultipartyConferenceHangUp*>
       
   805 												(iLtsyDispatchCallControlMultipartyHandler);
       
   806 		break;
       
   807 	case MLtsyDispatchCallControlMultipartyConferenceAddCall::KLtsyDispatchCallControlMultipartyConferenceAddCallApiId:
       
   808 		aDispatchInterface = static_cast<MLtsyDispatchCallControlMultipartyConferenceAddCall*>
       
   809 												(iLtsyDispatchCallControlMultipartyHandler);
       
   810 		break;
       
   811 	case MLtsyDispatchCallControlMultipartyCreateConference::KLtsyDispatchCallControlMultipartyCreateConferenceApiId:
       
   812 		aDispatchInterface = static_cast<MLtsyDispatchCallControlMultipartyCreateConference*>
       
   813 												(iLtsyDispatchCallControlMultipartyHandler);
       
   814 		break;
       
   815 	case MLtsyDispatchCallControlMultipartyConferenceSwap::KLtsyDispatchCallControlMultipartyConferenceSwapApiId:
       
   816 		aDispatchInterface = static_cast<MLtsyDispatchCallControlMultipartyConferenceSwap*>
       
   817 												(iLtsyDispatchCallControlMultipartyHandler);
       
   818 		break;
       
   819 	case MLtsyDispatchCallControlMultipartyConferenceGoOneToOne::KLtsyDispatchCallControlMultipartyConferenceGoOneToOneApiId:
       
   820 		aDispatchInterface = static_cast<MLtsyDispatchCallControlMultipartyConferenceGoOneToOne*>
       
   821 												(iLtsyDispatchCallControlMultipartyHandler);
       
   822 		break;
       
   823 
       
   824 		// SupplementaryServices Functional Unit interface handlers
       
   825 
       
   826 	case MLtsyDispatchSupplementaryServicesSendNetworkServiceRequestNoFdnCheck::KLtsyDispatchSupplementaryServicesSendNetworkServiceRequestNoFdnCheckApiId:
       
   827 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSendNetworkServiceRequestNoFdnCheck*>
       
   828 												(iLtsyDispatchSupplementaryServicesHandler);
       
   829 		break;
       
   830 	case MLtsyDispatchSupplementaryServicesGetCallWaitingStatus::KLtsyDispatchSupplementaryServicesGetCallWaitingStatusApiId:
       
   831 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesGetCallWaitingStatus*>
       
   832 												(iLtsyDispatchSupplementaryServicesHandler);
       
   833 		break;
       
   834 	case MLtsyDispatchSupplementaryServicesSendNetworkServiceRequest::KLtsyDispatchSupplementaryServicesSendNetworkServiceRequestApiId:
       
   835 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSendNetworkServiceRequest*>
       
   836 												(iLtsyDispatchSupplementaryServicesHandler);
       
   837 		break;
       
   838 	case MLtsyDispatchSupplementaryServicesGetCallBarringStatus::KLtsyDispatchSupplementaryServicesGetCallBarringStatusApiId:
       
   839 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesGetCallBarringStatus*>
       
   840 												(iLtsyDispatchSupplementaryServicesHandler);
       
   841 		break;
       
   842 	case MLtsyDispatchSupplementaryServicesSetCallBarringStatus::KLtsyDispatchSupplementaryServicesSetCallBarringStatusApiId:
       
   843 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSetCallBarringStatus*>
       
   844 												(iLtsyDispatchSupplementaryServicesHandler);
       
   845 		break;
       
   846 	case MLtsyDispatchSupplementaryServicesSetCallForwardingStatus::KLtsyDispatchSupplementaryServicesSetCallForwardingStatusApiId:
       
   847 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSetCallForwardingStatus*>
       
   848 												(iLtsyDispatchSupplementaryServicesHandler);
       
   849 		break;
       
   850 	case MLtsyDispatchSupplementaryServicesSetCallWaitingStatus::KLtsyDispatchSupplementaryServicesSetCallWaitingStatusApiId:
       
   851 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSetCallWaitingStatus*>
       
   852 												(iLtsyDispatchSupplementaryServicesHandler);
       
   853 		break;
       
   854 	case MLtsyDispatchSupplementaryServicesSetSsPassword::KLtsyDispatchSupplementaryServicesSetSsPasswordApiId:
       
   855 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSetSsPassword*>
       
   856 												(iLtsyDispatchSupplementaryServicesHandler);
       
   857 		break;
       
   858 	case MLtsyDispatchSupplementaryServicesGetCallForwardingStatus::KLtsyDispatchSupplementaryServicesGetCallForwardingStatusApiId:
       
   859 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesGetCallForwardingStatus*>
       
   860 												(iLtsyDispatchSupplementaryServicesHandler);
       
   861 		break;
       
   862 	case MLtsyDispatchSupplementaryServicesSendUssdMessage::KLtsyDispatchSupplementaryServicesSendUssdMessageApiId:
       
   863 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSendUssdMessage*>
       
   864 												(iLtsyDispatchSupplementaryServicesHandler);
       
   865 		break;
       
   866 	case MLtsyDispatchSupplementaryServicesSendUssdMessageNoFdnCheck::KLtsyDispatchSupplementaryServicesSendUssdMessageNoFdnCheckApiId:
       
   867 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSendUssdMessageNoFdnCheck*>
       
   868 												(iLtsyDispatchSupplementaryServicesHandler);
       
   869 		break;		
       
   870 	case MLtsyDispatchSupplementaryServicesSendUssdRelease::KLtsyDispatchSupplementaryServicesSendUssdReleaseApiId:
       
   871 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesSendUssdRelease*>
       
   872 												(iLtsyDispatchSupplementaryServicesHandler);
       
   873 		break;
       
   874 	case MLtsyDispatchSupplementaryServicesClearBlacklist::KLtsyDispatchSupplementaryServicesClearBlacklistApiId:
       
   875 		aDispatchInterface = static_cast<MLtsyDispatchSupplementaryServicesClearBlacklist*>
       
   876 												(iLtsyDispatchSupplementaryServicesHandler);
       
   877 		break;
       
   878 
       
   879 		// PacketServices Functional Unit interface handlers
       
   880 
       
   881 	case MLtsyDispatchPacketServicesPacketAttach::KLtsyDispatchPacketServicesPacketAttachApiId:
       
   882 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesPacketAttach*>
       
   883 												(iLtsyDispatchPacketServicesHandler);
       
   884 		break;
       
   885 	case MLtsyDispatchPacketServicesGetPacketAttachMode::KLtsyDispatchPacketServicesGetPacketAttachModeApiId:
       
   886 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetPacketAttachMode*>
       
   887 												(iLtsyDispatchPacketServicesHandler);
       
   888 		break;
       
   889 	case MLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatus::KLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatusApiId:
       
   890 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetPacketNetworkRegistrationStatus*>
       
   891 												(iLtsyDispatchPacketServicesHandler);
       
   892 		break;
       
   893 	case MLtsyDispatchPacketServicesPacketDetach::KLtsyDispatchPacketServicesPacketDetachApiId:
       
   894 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesPacketDetach*>
       
   895 												(iLtsyDispatchPacketServicesHandler);
       
   896 		break;
       
   897 	case MLtsyDispatchPacketServicesSetPdpContextConfig::KLtsyDispatchPacketServicesSetPdpContextConfigApiId:
       
   898 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetPdpContextConfig*>
       
   899 												(iLtsyDispatchPacketServicesHandler);
       
   900 		break;
       
   901 	case MLtsyDispatchPacketServicesModifyActivePdpContext::KLtsyDispatchPacketServicesModifyActivePdpContextApiId:
       
   902 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesModifyActivePdpContext*>
       
   903 												(iLtsyDispatchPacketServicesHandler);
       
   904 		break;
       
   905 	case MLtsyDispatchPacketServicesInitialisePdpContext::KLtsyDispatchPacketServicesInitialisePdpContextApiId:
       
   906 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesInitialisePdpContext*>
       
   907 												(iLtsyDispatchPacketServicesHandler);
       
   908 		break;
       
   909 	case MLtsyDispatchPacketServicesDeletePdpContext::KLtsyDispatchPacketServicesDeletePdpContextApiId:
       
   910 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesDeletePdpContext*>
       
   911 												(iLtsyDispatchPacketServicesHandler);
       
   912 		break;
       
   913 	case MLtsyDispatchPacketServicesSetPacketAttachMode::KLtsyDispatchPacketServicesSetPacketAttachModeApiId:
       
   914 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetPacketAttachMode*>
       
   915 												(iLtsyDispatchPacketServicesHandler);
       
   916 		break;
       
   917 	case MLtsyDispatchPacketServicesNotifyPacketStatusChange::KLtsyDispatchPacketServicesNotifyPacketStatusChangeApiId:
       
   918 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesNotifyPacketStatusChange*>
       
   919 												(iLtsyDispatchPacketServicesHandler);
       
   920 		break;
       
   921 	case MLtsyDispatchPacketServicesSetDefaultPdpContextGprsParams::KLtsyDispatchPacketServicesSetDefaultPdpContextGprsParamsApiId:
       
   922 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetDefaultPdpContextGprsParams*>
       
   923 												(iLtsyDispatchPacketServicesHandler);
       
   924 		break;
       
   925 	case MLtsyDispatchPacketServicesSetDefaultPdpContextR99R4Params::KLtsyDispatchPacketServicesSetDefaultPdpContextR99R4ParamsApiId:
       
   926 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetDefaultPdpContextR99R4Params*>
       
   927 												(iLtsyDispatchPacketServicesHandler);
       
   928 		break;		
       
   929 	case MLtsyDispatchPacketServicesActivatePdpContext::KLtsyDispatchPacketServicesActivatePdpContextApiId:
       
   930 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesActivatePdpContext*>
       
   931 												(iLtsyDispatchPacketServicesHandler);
       
   932 		break;
       
   933 	case MLtsyDispatchPacketServicesSetPdpContextQosGprs::KLtsyDispatchPacketServicesSetPdpContextQosGprsApiId:
       
   934 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetPdpContextQosGprs*>
       
   935 												(iLtsyDispatchPacketServicesHandler);
       
   936 		break;
       
   937 	case MLtsyDispatchPacketServicesSetPdpContextQosR99R4::KLtsyDispatchPacketServicesSetPdpContextQosR99R4ApiId:
       
   938 			aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetPdpContextQosR99R4*>
       
   939 													(iLtsyDispatchPacketServicesHandler);
       
   940 		break;
       
   941 	case MLtsyDispatchPacketServicesSetPdpContextQosR5::KLtsyDispatchPacketServicesSetPdpContextQosR5ApiId:
       
   942 				aDispatchInterface = static_cast<MLtsyDispatchPacketServicesSetPdpContextQosR5*>
       
   943 														(iLtsyDispatchPacketServicesHandler);
       
   944 		break;
       
   945 	case MLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequest::KLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequestApiId:
       
   946 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesRejectNetworkInitiatedContextActivationRequest*>
       
   947 												(iLtsyDispatchPacketServicesHandler);
       
   948 		break;
       
   949 	case MLtsyDispatchPacketServicesDeactivatePdpContext::KLtsyDispatchPacketServicesDeactivatePdpContextApiId:
       
   950 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesDeactivatePdpContext*>
       
   951 												(iLtsyDispatchPacketServicesHandler);
       
   952 		break;
       
   953 	case MLtsyDispatchPacketServicesAddPacketFilter::KLtsyDispatchPacketServicesAddPacketFilterApiId:
       
   954 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesAddPacketFilter*>
       
   955 												(iLtsyDispatchPacketServicesHandler);
       
   956 		break;
       
   957 	case MLtsyDispatchPacketServicesGetStatus::KLtsyDispatchPacketServicesGetStatusApiId:
       
   958 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetStatus*>
       
   959 						   				 (iLtsyDispatchPacketServicesHandler);
       
   960 		break;
       
   961 	case MLtsyDispatchPacketServicesGetStaticCapabilities::KLtsyDispatchPacketServicesGetStaticCapabilitiesApiId:
       
   962 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetStaticCapabilities*>
       
   963 						   				 (iLtsyDispatchPacketServicesHandler);
       
   964 		break;
       
   965 	case MLtsyDispatchPacketServicesGetMaxNoMonitoredServiceLists::KLtsyDispatchPacketServicesGetMaxNoMonitoredServiceListsApiId:
       
   966 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetMaxNoMonitoredServiceLists*>
       
   967 						   				 (iLtsyDispatchPacketServicesHandler);
       
   968 		break;
       
   969 	case MLtsyDispatchPacketServicesGetMaxNoActiveServices::KLtsyDispatchPacketServicesGetMaxNoActiveServicesApiId:
       
   970 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetMaxNoActiveServices*>
       
   971 						   				 (iLtsyDispatchPacketServicesHandler);
       
   972 		break;
       
   973 	case MLtsyDispatchPacketServicesInitialiseMbmsContext::KLtsyDispatchPacketServicesInitialiseMbmsContextApiId:
       
   974 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesInitialiseMbmsContext*>
       
   975 						   				 (iLtsyDispatchPacketServicesHandler);
       
   976 		break;
       
   977 	case MLtsyDispatchPacketServicesGetMbmsNetworkServiceStatus::KLtsyDispatchPacketServicesGetMbmsNetworkServiceStatusApiId:
       
   978 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesGetMbmsNetworkServiceStatus*>
       
   979 						   				 (iLtsyDispatchPacketServicesHandler);
       
   980 		break;
       
   981 	case MLtsyDispatchPacketServicesUpdateMbmsMonitorServiceList::KLtsyDispatchPacketServicesUpdateMbmsMonitorServiceListApiId:
       
   982 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesUpdateMbmsMonitorServiceList*>
       
   983 						   				 (iLtsyDispatchPacketServicesHandler);
       
   984 		break;
       
   985 	case MLtsyDispatchPacketServicesUpdateMbmsSessionList::KLtsyDispatchPacketServicesUpdateMbmsSessionListApiId:
       
   986 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesUpdateMbmsSessionList*>
       
   987 						   				 (iLtsyDispatchPacketServicesHandler);
       
   988 		break;
       
   989 	case MLtsyDispatchPacketServicesRemovePacketFilter::KLtsyDispatchPacketServicesRemovePacketFilterApiId:
       
   990 		aDispatchInterface = static_cast<MLtsyDispatchPacketServicesRemovePacketFilter*>
       
   991 										(iLtsyDispatchPacketServicesHandler);
       
   992 		break;
       
   993 
       
   994 		// Sat Functional Unit interface handlers
       
   995 
       
   996 	case MLtsyDispatchSatSmsDeliverReport::KLtsyDispatchSatSmsDeliverReportApiId:
       
   997 		aDispatchInterface = static_cast<MLtsyDispatchSatSmsDeliverReport*>
       
   998 												(iLtsyDispatchSatHandler);
       
   999 		break;
       
  1000 	case MLtsyDispatchSatGetImageInstance::KLtsyDispatchSatGetImageInstanceApiId:
       
  1001 		aDispatchInterface = static_cast<MLtsyDispatchSatGetImageInstance*>
       
  1002 												(iLtsyDispatchSatHandler);
       
  1003 		break;
       
  1004 	case MLtsyDispatchSatGetIconData::KLtsyDispatchSatGetIconDataApiId:
       
  1005 		aDispatchInterface = static_cast<MLtsyDispatchSatGetIconData*>
       
  1006 												(iLtsyDispatchSatHandler);
       
  1007 		break;
       
  1008 	case MLtsyDispatchSatGetClut::KLtsyDispatchSatGetClutApiId:
       
  1009 		aDispatchInterface = static_cast<MLtsyDispatchSatGetClut*>
       
  1010 												(iLtsyDispatchSatHandler);
       
  1011 		break;
       
  1012 	case MLtsyDispatchSatGetDefaultBearerCapability::KLtsyDispatchSatGetDefaultBearerCapabilityApiId:
       
  1013 		aDispatchInterface = static_cast<MLtsyDispatchSatGetDefaultBearerCapability*>
       
  1014 												(iLtsyDispatchSatHandler);
       
  1015 		break;
       
  1016 	case MLtsyDispatchSatGetSmsPpDownloadSupported::KLtsyDispatchSatGetSmsPpDownloadSupportedApiId:
       
  1017 		aDispatchInterface = static_cast<MLtsyDispatchSatGetSmsPpDownloadSupported*>
       
  1018 												(iLtsyDispatchSatHandler);
       
  1019 		break;
       
  1020 	case MLtsyDispatchSatGetSmsControlActivated::KLtsyDispatchSatGetSmsControlActivatedApiId:
       
  1021 		aDispatchInterface = static_cast<MLtsyDispatchSatGetSmsControlActivated*>
       
  1022 												(iLtsyDispatchSatHandler);
       
  1023 		break;
       
  1024 	case MLtsyDispatchSatCellBroadcastEnvelope::KLtsyDispatchSatCellBroadcastEnvelopeApiId:
       
  1025 		aDispatchInterface = static_cast<MLtsyDispatchSatCellBroadcastEnvelope*>
       
  1026 												(iLtsyDispatchSatHandler);
       
  1027 		break;
       
  1028 	case MLtsyDispatchSatGetAccessTechnology::KLtsyDispatchSatGetAccessTechnologyApiId:
       
  1029 		aDispatchInterface = static_cast<MLtsyDispatchSatGetAccessTechnology*>
       
  1030 												(iLtsyDispatchSatHandler);
       
  1031 		break;
       
  1032 	case MLtsyDispatchSatTimingAdvance::KLtsyDispatchSatTimingAdvanceApiId:
       
  1033 		aDispatchInterface = static_cast<MLtsyDispatchSatTimingAdvance*>
       
  1034 												(iLtsyDispatchSatHandler);
       
  1035 		break;
       
  1036 	case MLtsyDispatchSatSmControlResponseData::KLtsyDispatchSatSmControlResponseDataApiId:
       
  1037 		aDispatchInterface = static_cast<MLtsyDispatchSatSmControlResponseData*>
       
  1038 												(iLtsyDispatchSatHandler);
       
  1039 		break;
       
  1040 	case MLtsyDispatchSatProvideLocationInfo::KLtsyDispatchSatProvideLocationInfoApiId:
       
  1041 		aDispatchInterface = static_cast<MLtsyDispatchSatProvideLocationInfo*>
       
  1042 												(iLtsyDispatchSatHandler);
       
  1043 		break;
       
  1044 	case MLtsyDispatchSatSetPollingInterval::KLtsyDispatchSatSetPollingIntervalApiId:
       
  1045 		aDispatchInterface = static_cast<MLtsyDispatchSatSetPollingInterval*>
       
  1046 												(iLtsyDispatchSatHandler);
       
  1047 		break;
       
  1048 	case MLtsyDispatchSatSmsPpDownloadEnvelope::KLtsyDispatchSatSmsPpDownloadEnvelopeApiId:
       
  1049 		aDispatchInterface = static_cast<MLtsyDispatchSatSmsPpDownloadEnvelope*>
       
  1050 												(iLtsyDispatchSatHandler);
       
  1051 		break;
       
  1052 	case MLtsyDispatchSatLocalInformationNmr::KLtsyDispatchSatLocalInformationNmrApiId:
       
  1053 		aDispatchInterface = static_cast<MLtsyDispatchSatLocalInformationNmr*>
       
  1054 												(iLtsyDispatchSatHandler);
       
  1055 		break;
       
  1056 	case MLtsyDispatchSatCallAndSmsControlEnvelope::KLtsyDispatchSatCallAndSmsControlEnvelopeApiId:
       
  1057 		aDispatchInterface = static_cast<MLtsyDispatchSatCallAndSmsControlEnvelope*>
       
  1058 												(iLtsyDispatchSatHandler);
       
  1059 		break;
       
  1060 	case MLtsyDispatchSatRefreshAllowed::KLtsyDispatchSatRefreshAllowedApiId:
       
  1061 		aDispatchInterface = static_cast<MLtsyDispatchSatRefreshAllowed*>
       
  1062 												(iLtsyDispatchSatHandler);
       
  1063 		break;
       
  1064 	case MLtsyDispatchSatReady::KLtsyDispatchSatReadyApiId:
       
  1065 		aDispatchInterface = static_cast<MLtsyDispatchSatReady*>
       
  1066 												(iLtsyDispatchSatHandler);
       
  1067 		break;
       
  1068 	case MLtsyDispatchSatPCmdNotification::KLtsyDispatchSatPCmdNotificationApiId:
       
  1069 		aDispatchInterface = static_cast<MLtsyDispatchSatPCmdNotification*>
       
  1070 												(iLtsyDispatchSatHandler);
       
  1071 		break;
       
  1072 	case MLtsyDispatchSatUssdControlEnvelopeError::KLtsyDispatchSatUssdControlEnvelopeErrorApiId:
       
  1073 		aDispatchInterface = static_cast<MLtsyDispatchSatUssdControlEnvelopeError*>
       
  1074 												(iLtsyDispatchSatHandler);
       
  1075 		break;
       
  1076 	case MLtsyDispatchSatTimerExpirationEnvelope::KLtsyDispatchSatTimerExpirationEnvelopeApiId:
       
  1077 		aDispatchInterface = static_cast<MLtsyDispatchSatTimerExpirationEnvelope*>
       
  1078 												(iLtsyDispatchSatHandler);
       
  1079 		break;
       
  1080 	case MLtsyDispatchSatTerminalRsp::KLtsyDispatchSatTerminalRspApiId:
       
  1081 		aDispatchInterface = static_cast<MLtsyDispatchSatTerminalRsp*>
       
  1082 												(iLtsyDispatchSatHandler);
       
  1083 		break;
       
  1084 	case MLtsyDispatchSatMenuSelectionEnvelope::KLtsyDispatchSatMenuSelectionEnvelopeApiId:
       
  1085 		aDispatchInterface = static_cast<MLtsyDispatchSatMenuSelectionEnvelope*>
       
  1086 												(iLtsyDispatchSatHandler);
       
  1087 		break;
       
  1088 	case MLtsyDispatchSatEventDownloadEnvelope::KLtsyDispatchSatEventDownloadEnvelopeApiId:
       
  1089 		aDispatchInterface = static_cast<MLtsyDispatchSatEventDownloadEnvelope*>
       
  1090 												(iLtsyDispatchSatHandler);
       
  1091 		break;
       
  1092 	case MLtsyDispatchSatGetUssdControlSupported::KLtsyDispatchSatGetUssdControlSupportedApiId:
       
  1093 		aDispatchInterface = static_cast<MLtsyDispatchSatGetUssdControlSupported*>
       
  1094 												(iLtsyDispatchSatHandler);
       
  1095 		break;
       
  1096 	default:
       
  1097 		return TSYLOGSETEXITERR(KErrNotFound);
       
  1098 		} // switch (aDispatchInterfaceId)
       
  1099 
       
  1100 	return TSYLOGSETEXITERR(KErrNone);
       
  1101 	} // CLtsyFactoryV1::GetDispatchHandler
       
  1102 
       
  1103 TBool CLtsyFactoryV1::IsDispatchInterfaceSupported(TInt aFuncUnitId, TLtsyDispatchInterfaceApiId aDispatchApiId)
       
  1104 	{
       
  1105 	switch(aFuncUnitId)
       
  1106 	    {
       
  1107 	  case KDispatchCallControlFuncUnitId:
       
  1108 	    return iLtsyDispatchCallControlHandler->IsInterfaceSupported(aDispatchApiId);
       
  1109 	  case KDispatchPhoneFuncUnitId:
       
  1110 	    return iLtsyDispatchPhoneHandler->IsInterfaceSupported(aDispatchApiId);
       
  1111 	  case KDispatchSecurityFuncUnitId:
       
  1112 	    return iLtsyDispatchSecurityHandler->IsInterfaceSupported(aDispatchApiId);
       
  1113 	  case KDispatchPhonebookEnFuncUnitId:
       
  1114 	    return iLtsyDispatchPhonebookEnHandler->IsInterfaceSupported(aDispatchApiId);
       
  1115 	  case KDispatchCellBroadcastFuncUnitId:
       
  1116 	    return iLtsyDispatchCellBroadcastHandler->IsInterfaceSupported(aDispatchApiId);
       
  1117 	  case KDispatchPhonebookOnFuncUnitId:
       
  1118 	    return iLtsyDispatchPhonebookOnHandler->IsInterfaceSupported(aDispatchApiId);
       
  1119 	  case KDispatchPhonebookFuncUnitId:
       
  1120 	    return iLtsyDispatchPhonebookHandler->IsInterfaceSupported(aDispatchApiId);
       
  1121 	  case KDispatchSimFuncUnitId:
       
  1122 	    return iLtsyDispatchSimHandler->IsInterfaceSupported(aDispatchApiId);
       
  1123 	  case KDispatchSmsFuncUnitId:
       
  1124 	    return iLtsyDispatchSmsHandler->IsInterfaceSupported(aDispatchApiId);
       
  1125 	  case KDispatchCallControlMultipartyFuncUnitId:
       
  1126 	    return iLtsyDispatchCallControlMultipartyHandler->IsInterfaceSupported(aDispatchApiId);
       
  1127 	  case KDispatchSupplementaryServicesFuncUnitId:
       
  1128 	    return iLtsyDispatchSupplementaryServicesHandler->IsInterfaceSupported(aDispatchApiId);
       
  1129 	  case KDispatchPacketServicesFuncUnitId:
       
  1130 	    return iLtsyDispatchPacketServicesHandler->IsInterfaceSupported(aDispatchApiId);
       
  1131 	  case KDispatchSatFuncUnitId:
       
  1132 	    return iLtsyDispatchSatHandler->IsInterfaceSupported(aDispatchApiId);
       
  1133 	  default:
       
  1134 	    return EFalse;
       
  1135 	    }
       
  1136 	}
       
  1137 
       
  1138 void CLtsyFactoryV1::IsCallbackIndicatorSupported(TInt aFuncUnitId, TLtsyDispatchIndIdGroup aIdGroup, TUint32& aIndIdBitMask)
       
  1139 	{
       
  1140 	switch(aFuncUnitId)
       
  1141 	    {
       
  1142 	  case KDispatchCallControlFuncUnitId:
       
  1143 	    iLtsyDispatchCallControlHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1144 	    break;
       
  1145 	  case KDispatchPhoneFuncUnitId:
       
  1146 	    iLtsyDispatchPhoneHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1147 	    break;
       
  1148 	  case KDispatchSecurityFuncUnitId:
       
  1149 	    iLtsyDispatchSecurityHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1150 	    break;
       
  1151 	  case KDispatchPhonebookEnFuncUnitId:
       
  1152 	    iLtsyDispatchPhonebookEnHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1153 	    break;
       
  1154 	  case KDispatchCellBroadcastFuncUnitId:
       
  1155 	    iLtsyDispatchCellBroadcastHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1156 	    break;
       
  1157 	  case KDispatchPhonebookOnFuncUnitId:
       
  1158 	    iLtsyDispatchPhonebookOnHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1159 	    break;
       
  1160 	  case KDispatchPhonebookFuncUnitId:
       
  1161 	    iLtsyDispatchPhonebookHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1162 	    break;
       
  1163 	  case KDispatchSimFuncUnitId:
       
  1164 	    iLtsyDispatchSimHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1165 	    break;
       
  1166 	  case KDispatchSmsFuncUnitId:
       
  1167 	    iLtsyDispatchSmsHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1168 	    break;
       
  1169 	  case KDispatchCallControlMultipartyFuncUnitId:
       
  1170 	    iLtsyDispatchCallControlMultipartyHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1171 	    break;
       
  1172 	  case KDispatchSupplementaryServicesFuncUnitId:
       
  1173 	    iLtsyDispatchSupplementaryServicesHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1174 	    break;
       
  1175 	  case KDispatchPacketServicesFuncUnitId:
       
  1176 	    iLtsyDispatchPacketServicesHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1177 	    break;
       
  1178 	  case KDispatchSatFuncUnitId:
       
  1179 	    iLtsyDispatchSatHandler->IsCallbackIndicatorSupported(aIdGroup, aIndIdBitMask);
       
  1180 	    break;
       
  1181 	  default:
       
  1182 		  aIndIdBitMask = 0;//no support
       
  1183 		 break;
       
  1184 	    }
       
  1185 	}
       
  1186 
       
  1187 CTsySatMessagingBase* CLtsyFactoryV1::GetSatMessagingService(MCtsySatService& /*aSatMessagingService*/)
       
  1188 	{
       
  1189 		return NULL;
       
  1190 	}
       
  1191 
       
  1192 /**
       
  1193  * Called by the CTSY Dispatcher to inform this object that it can clean itself up.
       
  1194  */
       
  1195 void CLtsyFactoryV1::Release()
       
  1196 	{
       
  1197 	TSYLOGENTRYEXIT;
       
  1198 	delete this;
       
  1199 	} // CLtsyFactoryV1::Release
       
  1200 
       
  1201 /**
       
  1202  * Creates an instance of an object implementing the MLtsyFactoryBase interface.
       
  1203  * ConstructL() must be called on the object returned before it is used.
       
  1204  */
       
  1205 EXPORT_C MLtsyFactoryBase* LTsyFactoryL()
       
  1206 	{
       
  1207 	TSYLOGENTRYEXIT;
       
  1208 	CLtsyFactoryV1* factory = new (ELeave) CLtsyFactoryV1;
       
  1209 	return factory;
       
  1210 	} // LTsyFactoryL
       
  1211