upnpmediaserver/contentdirectoryservice/src/upnpstatehandler.cpp
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 32 3785f754ee62
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
   183         
   183         
   184         cui.iContainerId = properContainerID->AllocL();                                                                           
   184         cui.iContainerId = properContainerID->AllocL();                                                                           
   185         //First time of modification, thus ID is 1.
   185         //First time of modification, thus ID is 1.
   186         // No magic (white nor black) used here.
   186         // No magic (white nor black) used here.
   187         cui.iUpdateId = 1;
   187         cui.iUpdateId = 1;
   188         iContainerUpdateIds.AppendL( cui );
   188         iContainerUpdateIds.Append( cui );
   189         updateId = cui.iUpdateId;
   189         updateId = cui.iUpdateId;
   190     }
   190     }
   191     else
   191     else
   192     {
   192     {
   193         if( iContainerUpdateIds[i].iUpdateId == KMaxTInt )
   193         if( iContainerUpdateIds[i].iUpdateId == KMaxTInt )
   241         TUpnpContainerUpdateId newEl;
   241         TUpnpContainerUpdateId newEl;
   242         
   242         
   243         newEl.iContainerId = properContainerID->AllocL();                                                                                   
   243         newEl.iContainerId = properContainerID->AllocL();                                                                                   
   244         newEl.iUpdateId = updateId;
   244         newEl.iUpdateId = updateId;
   245         
   245         
   246         iCurrentContainerUpdateIds.AppendL(newEl);
   246         iCurrentContainerUpdateIds.Append(newEl);
   247     }
   247     }
   248                             
   248                             
   249     // preparing new value of 'ContainerUpdateIds' state variable ----   
   249     // preparing new value of 'ContainerUpdateIds' state variable ----   
   250                                 
   250                                 
   251     TInt elCount = iCurrentContainerUpdateIds.Count();
   251     TInt elCount = iCurrentContainerUpdateIds.Count();