mtpfws/mtpfw/dataproviders/devdp/src/cmtpgetdeviceinfo.cpp
branchRCL_3
changeset 13 81da3301b632
parent 3 8b094906a049
child 15 f85613f12947
equal deleted inserted replaced
12:523717cdb0ad 13:81da3301b632
    99 GetDeviceInfo request handler. Build and send device info data set.
    99 GetDeviceInfo request handler. Build and send device info data set.
   100 */    
   100 */    
   101 void CMTPGetDeviceInfo::ServiceL()
   101 void CMTPGetDeviceInfo::ServiceL()
   102     {
   102     {
   103     __FLOG(_L8("ServiceL - Entry"));
   103     __FLOG(_L8("ServiceL - Entry"));
       
   104     
       
   105     if (!iDpSingletons.DeviceDataStore().Enumerated())
       
   106         {
       
   107         __FLOG(_L8("MTPExtensionReady not ready, reschedule request")); 
       
   108         iDpSingletons.DeviceDataStore().RegisterPendingRequest();
       
   109         RegisterPendingRequest();
       
   110         return;
       
   111         }
       
   112     
   104     BuildDeviceInfoL();
   113     BuildDeviceInfoL();
   105     SendDataL(*iDeviceInfo);
   114     SendDataL(*iDeviceInfo);
   106     __FLOG(_L8("ServiceL - Exit"));
   115     __FLOG(_L8("ServiceL - Exit"));
   107     }
   116     }
   108 
   117