mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp
branchRCL_3
changeset 20 4a793f564d72
parent 19 0aa8cc770c8a
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
   115     	    server.Resume();
   115     	    server.Resume();
   116     	    }
   116     	    }
   117 		// Wait for the server start up to complete.
   117 		// Wait for the server start up to complete.
   118     	User::WaitForRequest(status);
   118     	User::WaitForRequest(status);
   119     	ret = (server.ExitType() == EExitPanic) ? KErrGeneral : status.Int();
   119     	ret = (server.ExitType() == EExitPanic) ? KErrGeneral : status.Int();
       
   120 #ifdef __WINSCW__
       
   121     	if ( server.ExitType() == EExitPanic )
       
   122     	    {
       
   123             TExitCategoryName exitCategory = server.ExitCategory();
       
   124             TInt exitReason = server.ExitReason();
       
   125             RDebug::Print( _L("The exit category is \"%S\""), &exitCategory );
       
   126             RDebug::Print( _L("The exit Reason is %d"), exitReason );
       
   127     	    }
       
   128 #endif //__WINSCW__
   120     	server.Close();
   129     	server.Close();
   121 	    }
   130 	    }
   122 	    
   131 	    
   123 	return ret;
   132 	return ret;
   124 	}
   133 	}