mtpfws/mtpfw/daemon/client/src/rmtpclient.cpp
branchRCL_3
changeset 19 0aa8cc770c8a
parent 3 8b094906a049
child 20 4a793f564d72
equal deleted inserted replaced
18:453dfc402455 19:0aa8cc770c8a
   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__
       
   129     	server.Close();
   120     	server.Close();
   130 	    }
   121 	    }
   131 	    
   122 	    
   132 	return ret;
   123 	return ret;
   133 	}
   124 	}