equal
deleted
inserted
replaced
53 // create the server (and leave it on the cleanup stack) |
53 // create the server (and leave it on the cleanup stack) |
54 CBTNotifServer* notifServer = CBTNotifServer::NewLC(); |
54 CBTNotifServer* notifServer = CBTNotifServer::NewLC(); |
55 // Initialisation complete, now signal the client |
55 // Initialisation complete, now signal the client |
56 RProcess::Rendezvous( KErrNone ); |
56 RProcess::Rendezvous( KErrNone ); |
57 // The server is now up and running. |
57 // The server is now up and running. |
58 BOstrace0( TRACE_NORMAL, DUMMY_DEVLIST, "[BTNOTIF]\t BTNotif server now up and running" ); |
58 BOstrace0( TRACE_NORMAL, DUMMY_DEVLIST, _L("[BTNOTIF]\t BTNotif server now up and running" )); |
59 // The active scheduler runs during the lifetime of this thread. |
59 // The active scheduler runs during the lifetime of this thread. |
60 CActiveScheduler::Start(); |
60 CActiveScheduler::Start(); |
61 // Stopping the active scheduler means terminating the thread. |
61 // Stopping the active scheduler means terminating the thread. |
62 // Cleanup the server and scheduler. |
62 // Cleanup the server and scheduler. |
63 CleanupStack::PopAndDestroy( notifServer ); |
63 CleanupStack::PopAndDestroy( notifServer ); |