mmserv/tms/tmsfactory/src/tmsfactoryimpl.cpp
branchRCL_3
changeset 12 2eb3b066cc7d
parent 9 f5c5c82a163e
child 19 095bea5f582e
equal deleted inserted replaced
11:3570217d8c21 12:2eb3b066cc7d
   191     }
   191     }
   192 
   192 
   193 gint TMSFactoryImpl::QueryDevice(const TMSStreamType strmtype)
   193 gint TMSFactoryImpl::QueryDevice(const TMSStreamType strmtype)
   194     {
   194     {
   195     gint ret(TMS_RESULT_SUCCESS);
   195     gint ret(TMS_RESULT_SUCCESS);
   196     TMSProxy* session = new TMSProxy;
   196     TMSProxy* session = new TMSProxy();
   197     if (session)
   197     if (session)
   198         {
   198         {
   199         if (session->Connect() == TMS_RESULT_SUCCESS)
   199         if (session->Connect() == TMS_RESULT_SUCCESS)
   200             {
   200             {
   201             if (strmtype == TMS_STREAM_UPLINK)
   201             if (strmtype == TMS_STREAM_UPLINK)