--- a/videocollection/videocollectionview/inc/videocollectionviewutils.h Thu May 27 12:53:14 2010 +0300
+++ b/videocollection/videocollectionview/inc/videocollectionviewutils.h Fri Jun 11 13:39:54 2010 +0300
@@ -83,6 +83,21 @@
* Initilizes model sort values.
*/
static void sortModel(VideoSortFilterProxyModel *model, bool async, VideoCollectionCommon::TCollectionLevels target);
+
+ /**
+ * Method saves the latest videolist widget level into activity manager db
+ *
+ * @param level type of widget
+ */
+ static void saveWidgetLevel(VideoCollectionCommon::TCollectionLevels &level);
+
+ /**
+ * Method loads the latest videolist widget level from activity manager db.
+ * Possible values are ELevelCategory or ELevelVideos
+ *
+ * @return VideoCollectionCommon::TCollectionLevels
+ */
+ static VideoCollectionCommon::TCollectionLevels loadWidgetLevel();
public slots: