diff -r ff53afa8ad05 -r f6d44a0cd476 videocollection/videocollectionview/inc/videolistwidget.h --- a/videocollection/videocollectionview/inc/videolistwidget.h Fri May 14 15:14:51 2010 +0300 +++ b/videocollection/videocollectionview/inc/videolistwidget.h Fri May 28 09:45:19 2010 +0300 @@ -23,6 +23,7 @@ #include #include #include +#include "videoservices.h" #include "videocollectioncommon.h" class VideoSortFilterProxyModel; @@ -67,9 +68,13 @@ * layout and activates correct view based on the current orientation * * @param model Model for this list view. + * @param videoservices + * @param level presetted level for the widget * @return int 0 initialization ok, < 0 if fails. */ - int initialize(VideoSortFilterProxyModel &model, VideoServices* videoServices = 0); + int initialize(VideoSortFilterProxyModel &model, + VideoServices* videoServices = 0, + VideoCollectionCommon::TCollectionLevels level = VideoCollectionCommon::ELevelInvalid); /** * Method enables and displays current active view @@ -165,6 +170,12 @@ * Signaled by HbMessageBox when it's closed. */ void removeCollectionDialogFinished(HbAction *action); + + /** + * called or signaled when delayed initialization is reauired for the widget + * + */ + void doDelayedsSlot(); protected slots: @@ -227,12 +238,6 @@ void playItemSlot(); /** - * slot is connected to view's doDelayeds -signal - * - */ - void doDelayedsSlot(); - - /** * Signaled when stepping back from collection in collection view * */ @@ -403,6 +408,11 @@ * ui loade object, not owned */ VideoCollectionUiLoader *mUiLoader; + + /** + * Service being provided + */ + VideoServices::TVideoService mService; }; #endif // VIDEOLISTWIDGET_H