89 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - Before REComSession::CreateImplementationL - 0x%x", aImplementationUidAsyService.iUid ); |
89 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - Before REComSession::CreateImplementationL - 0x%x", aImplementationUidAsyService.iUid ); |
90 |
90 |
91 TRAP( err, tmpEcom = REComSession::CreateImplementationL( |
91 TRAP( err, tmpEcom = REComSession::CreateImplementationL( |
92 aImplementationUidAsyService, |
92 aImplementationUidAsyService, |
93 _FOFF( CASYMainServiceBase, iDtor_ID_Key ) ) ); |
93 _FOFF( CASYMainServiceBase, iDtor_ID_Key ) ) ); |
|
94 |
|
95 if( KErrNone != err ) |
|
96 { |
|
97 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - AccServer Panic (0x%x)", EAccServerErrorLoadASY ); |
|
98 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::::NewL - Implementation UID 0x%x failed to load", aImplementationUidAsyService.iUid ); |
|
99 User::Panic( KAccServerName, EAccServerErrorLoadASY ); |
|
100 } |
94 |
101 |
95 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - After REComSession::CreateImplementationL - err == %d", err ); |
102 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - After REComSession::CreateImplementationL - err == %d", err ); |
96 |
103 |
97 CASYMainServiceBase* theChosenOne = REINTERPRET_CAST( |
104 CASYMainServiceBase* theChosenOne = REINTERPRET_CAST( |
98 CASYMainServiceBase*, |
105 CASYMainServiceBase*, |
99 tmpEcom ); |
106 tmpEcom ); |
100 |
107 |
101 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::::NewL - theChosenOne == 0x%x", theChosenOne ); |
108 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::::NewL - theChosenOne == 0x%x", theChosenOne ); |
|
109 |
|
110 if( (theChosenOne == NULL) || (tmpEcom == NULL) ) |
|
111 { |
|
112 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::::NewL - Implementation UID 0x%x failed to load", aImplementationUidAsyService.iUid ); |
|
113 User::Panic( KAccServerName, EAccServerErrorLoadASY ); |
|
114 } |
102 |
115 |
103 theChosenOne->ConstructL( aCommsService ); |
116 theChosenOne->ConstructL( aCommsService ); |
104 |
117 |
105 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - return 0x%x", theChosenOne ); |
118 COM_TRACE_1( "[AccFW:AsyProxy] CASYMainServiceBase::NewL - return 0x%x", theChosenOne ); |
106 |
119 |