usbuis/usbui/USBClassChangeUIPlugin/src/USBClassChangeUIPluginModel.cpp
branchRCL_3
changeset 55 c00b160ac7eb
parent 0 1e05558e2206
equal deleted inserted replaced
37:3e3bd14de94e 55:c00b160ac7eb
   360  
   360  
   361     if (iPersonalityCount == 0)
   361     if (iPersonalityCount == 0)
   362         {
   362         {
   363         // Add empty value
   363         // Add empty value
   364         AddIconL (iPersonalityCount, aIconArray);
   364         AddIconL (iPersonalityCount, aIconArray);
   365         iUsbModeIndexes.Append(0);
   365         iUsbModeIndexes.AppendL(0);
   366         aPopUpItems.AppendL(KNullDesC);
   366         aPopUpItems.AppendL(KNullDesC);
   367         aListBox.AppendL(KUSBUIEmptyString);
   367         aListBox.AppendL(KUSBUIEmptyString);
   368         aListBoxDefault.AppendL(KUSBUIEmptyString);
   368         aListBoxDefault.AppendL(KUSBUIEmptyString);
   369         aListBoxActive.AppendL(KUSBUIEmptyString);
   369         aListBoxActive.AppendL(KUSBUIEmptyString);
   370         }
   370         }
   542                     {
   542                     {
   543                     case EDriverLoadSuccess:
   543                     case EDriverLoadSuccess:
   544                     case EDriverLoadPartialSuccess:
   544                     case EDriverLoadPartialSuccess:
   545                         {
   545                         {
   546                         // Drivers are loaded more or less successfully
   546                         // Drivers are loaded more or less successfully
   547                         iDeviceIDs.Append(aEventInfo.iDeviceId);
   547                         TInt ret = iDeviceIDs.Append(aEventInfo.iDeviceId);
       
   548                         if (ret != KErrNone) 
       
   549                             {
       
   550                             FLOG( _L("[CUSBClassChangeUIPlugin]\t CUSBClassChangeUIPluginModel::HostEventNotify *** append error"));       
       
   551                             }
   548                         iObserver->HostEventNotify(aEventInfo);
   552                         iObserver->HostEventNotify(aEventInfo);
   549                         break;
   553                         break;
   550                         }
   554                         }
   551                     }
   555                     }
   552                 break;
   556                 break;