qthighway/xqserviceipc/xqserviceipcserver/xqserviceipcserver_symbianserver.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 24 9d760f716ca8
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
   105     bool listening(true);
   105     bool listening(true);
   106 
   106 
   107     // Needs to be here becuase Q_Ptr isonly set after constructor of public
   107     // Needs to be here becuase Q_Ptr isonly set after constructor of public
   108     iObserver = Observer();
   108     iObserver = Observer();
   109     TPtrC serverName(reinterpret_cast<const TUint16*> (aServerName.utf16()));
   109     TPtrC serverName(reinterpret_cast<const TUint16*> (aServerName.utf16()));
   110     TRAPD( err, StartL(serverName) );
   110     TInt err=0;
   111     XQSERVICE_DEBUG_PRINT("err: %d", err);
   111     TRAP( err, StartL(serverName) );
       
   112     XQSERVICE_DEBUG_PRINT("listen status=%d", err);
   112     if (err != KErrNone) {
   113     if (err != KErrNone) {
   113         listening = false;
   114         listening = false;
   114     }
   115     }
   115     // Complete the server rendezvous that th client started
   116     // Complete the server rendezvous that th client started
   116     XQSERVICE_DEBUG_PRINT("CServiceSymbianServer::Rendezvouz");
   117     XQSERVICE_DEBUG_PRINT("CServiceSymbianServer::Rendezvouz");