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