catch up with interface change

This commit is contained in:
ehouse 2005-04-21 03:43:03 +00:00
parent 3072b9ee50
commit d064ab2840
2 changed files with 5 additions and 3 deletions

View file

@ -160,7 +160,8 @@ class CXWordsAppView : public CCoeControl
static void sym_util_listenPortChange( XW_UtilCtxt* uc, static void sym_util_listenPortChange( XW_UtilCtxt* uc,
XP_U16 listenPort ); XP_U16 listenPort );
static void sym_util_addrChange( XW_UtilCtxt* uc, static void sym_util_addrChange( XW_UtilCtxt* uc,
const CommsAddrRec* aAddr ); const CommsAddrRec* aOld,
const CommsAddrRec* aNew );
#endif #endif
#ifdef XWFEATURE_STANDALONE_ONLY #ifdef XWFEATURE_STANDALONE_ONLY

View file

@ -508,11 +508,12 @@ CXWordsAppView::sym_util_listenPortChange( XW_UtilCtxt* uc, XP_U16 aPort )
/*static*/void /*static*/void
CXWordsAppView::sym_util_addrChange( XW_UtilCtxt* uc, CXWordsAppView::sym_util_addrChange( XW_UtilCtxt* uc,
const CommsAddrRec* aAddr ) const CommsAddrRec* aOld,
const CommsAddrRec* aNew )
{ {
CXWordsAppView* self = (CXWordsAppView*)uc->closure; CXWordsAppView* self = (CXWordsAppView*)uc->closure;
XP_LOGF( "util_addrChange: calling connect" ); XP_LOGF( "util_addrChange: calling connect" );
self->iSendSock->ConnectL( aAddr ); self->iSendSock->ConnectL( aNew );
(void)self->iSendSock->Listen(); (void)self->iSendSock->Listen();
} }
#endif #endif