videocollection/videocollectionview/inc/videocollectionviewutils.h
changeset 28 c48470be1ba7
parent 17 69946d1824c4
child 47 45e72b57a2fd
--- 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: