videocollection/videocollectionview/inc/videocollectionviewutils.h
changeset 39 f6d44a0cd476
parent 36 8aed59de29f9
child 41 229f037ce963
--- a/videocollection/videocollectionview/inc/videocollectionviewutils.h	Fri May 14 15:14:51 2010 +0300
+++ b/videocollection/videocollectionview/inc/videocollectionviewutils.h	Fri May 28 09:45:19 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: