videocollection/videocollectionview/inc/videocollectionviewutils.h
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
--- a/videocollection/videocollectionview/inc/videocollectionviewutils.h	Thu Sep 02 20:28:16 2010 +0300
+++ b/videocollection/videocollectionview/inc/videocollectionviewutils.h	Fri Sep 17 08:30:05 2010 +0300
@@ -23,7 +23,7 @@
 #include "videocollectioncommon.h"
 
 class HbListView;
-class VideoSortFilterProxyModel;
+class VideoProxyModelGeneric;
 
 class VideoCollectionViewUtils : public QObject
 {
@@ -73,6 +73,16 @@
      * @return Application UID if operation succeeded, less than zero in error cases.
      */
     int getCenRepIntValue(int key);
+    
+    /**
+     * Set video services in use.
+     */
+    void setIsService();
+
+    /**
+     * Get video services in use.
+     */
+    bool isService();
 
 public:
     /**
@@ -84,7 +94,7 @@
     /**
      * Initilizes model sort values.
      */
-    static void sortModel(VideoSortFilterProxyModel *model, bool async, VideoCollectionCommon::TCollectionLevels target);
+    static void sortModel(VideoProxyModelGeneric *model, bool async, VideoCollectionCommon::TCollectionLevels target);
     
     /**
      * Method saves the latest videolist widget level into local activity manager 
@@ -149,6 +159,10 @@
     virtual ~VideoCollectionViewUtils();
 
 private:
+
+    /** is service */
+    bool mIsService;
+    
     /** current sorting role */
     int mVideosSortRole;
     int mCollectionsSortRole;