equal
deleted
inserted
replaced
379 VideoServices *videoServices = 0; |
379 VideoServices *videoServices = 0; |
380 if (mIsService) |
380 if (mIsService) |
381 { |
381 { |
382 videoServices = VideoServices::instance(); |
382 videoServices = VideoServices::instance(); |
383 } |
383 } |
384 videoList->initialize(*model, videoServices); |
384 videoList->initialize(*model, videoServices, VideoCollectionCommon::ELevelVideos); |
385 } |
385 } |
386 } |
386 } |
387 } |
387 } |
388 else if (name.compare(DOCML_NAME_VC_COLLECTIONWIDGET) == 0) |
388 else if (name.compare(DOCML_NAME_VC_COLLECTIONWIDGET) == 0) |
389 { |
389 { |
402 VideoServices *videoServices = 0; |
402 VideoServices *videoServices = 0; |
403 if (mIsService) |
403 if (mIsService) |
404 { |
404 { |
405 videoServices = VideoServices::instance(); |
405 videoServices = VideoServices::instance(); |
406 } |
406 } |
407 videoList->initialize(*model, videoServices); |
407 videoList->initialize(*model, videoServices, VideoCollectionCommon::ELevelCategory); |
408 } |
408 } |
409 } |
409 } |
410 } |
410 } |
411 else if (name.compare(DOCML_NAME_VC_COLLECTIONCONTENTWIDGET) == 0) |
411 else if (name.compare(DOCML_NAME_VC_COLLECTIONCONTENTWIDGET) == 0) |
412 { |
412 { |
425 VideoServices *videoServices = 0; |
425 VideoServices *videoServices = 0; |
426 if (mIsService) |
426 if (mIsService) |
427 { |
427 { |
428 videoServices = VideoServices::instance(); |
428 videoServices = VideoServices::instance(); |
429 } |
429 } |
|
430 // cannot set level at this point yet: it can be either default or user defined collection |
430 videoList->initialize(*model, videoServices); |
431 videoList->initialize(*model, videoServices); |
431 } |
432 } |
432 } |
433 } |
433 } |
434 } |
434 else if (name.compare(DOCML_NAME_DIALOG) == 0) |
435 else if (name.compare(DOCML_NAME_DIALOG) == 0) |