mtpfws/mtpfw/dataproviders/devdp/src/cmtpgetdeviceinfo.cpp
branchRCL_3
changeset 27 81da3301b632
parent 12 8b094906a049
child 32 f85613f12947
child 33 883e91c086aa
equal deleted inserted replaced
24:523717cdb0ad 27: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