equal
deleted
inserted
replaced
82 void CRemConStub::ConstructL() |
82 void CRemConStub::ConstructL() |
83 { |
83 { |
84 |
84 |
85 COMPONENT_TRACE( ( _L( "REMCONSTUB - CRemConStub::ConstructL() - Enter" ) ) ); |
85 COMPONENT_TRACE( ( _L( "REMCONSTUB - CRemConStub::ConstructL() - Enter" ) ) ); |
86 |
86 |
|
87 TInt retval(KErrNone); |
87 TRemConAddress addr; |
88 TRemConAddress addr; |
88 addr.BearerUid() = Uid(); // implementation UID of this bearer |
89 addr.BearerUid() = Uid(); // implementation UID of this bearer |
89 Observer().ConnectIndicate(addr); |
90 Observer().ConnectIndicate(addr); |
90 // |
91 // |
91 // Construct of Key Event listener. Event is received from remconkeyeventapp |
92 // Construct of Key Event listener. Event is received from remconkeyeventapp |
288 |
289 |
289 // Note, iOperation has to be != any RemConExtensionApi command. |
290 // Note, iOperation has to be != any RemConExtensionApi command. |
290 // This branch is used for following test cases |
291 // This branch is used for following test cases |
291 |
292 |
292 TPhoneCmdHandlerKeyEventBuf cmdDataBuf; |
293 TPhoneCmdHandlerKeyEventBuf cmdDataBuf; |
293 cmdDataBuf().iOperationId = (TUint)-1; |
294 cmdDataBuf().iOperationId = -1; |
294 (void)iSubcribeToControl.Set(KTFPhoneCmdHandlerProperty, KTFPhoneCmdHandlerKey,cmdDataBuf); |
295 (void)iSubcribeToControl.Set(KTFPhoneCmdHandlerProperty, KTFPhoneCmdHandlerKey,cmdDataBuf); |
295 |
296 |
296 } |
297 } |
297 else if( aError == KErrGeneral ) |
298 else if( aError == KErrGeneral ) |
298 { |
299 { |