videoplayerapp/videoplayerengine/inc/videoservicebrowse.h
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 24 7d93ee07fb27
--- a/videoplayerapp/videoplayerengine/inc/videoservicebrowse.h	Mon May 03 12:32:50 2010 +0300
+++ b/videoplayerapp/videoplayerengine/inc/videoservicebrowse.h	Fri May 14 15:53:50 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: %
+// Version : %version: 3 %
 
 #ifndef VIDEOSERVICEBROWSE_H
 #define VIDEOSERVICEBROWSE_H
@@ -60,6 +60,14 @@
      */
     QString contextTitle() const;
     
+    /**
+     * Return sort role.
+     * 
+     * @param None.
+     * @return int.
+     */
+    int sortRole() const;
+    
 public slots:
 
     /**
@@ -67,9 +75,10 @@
      *
      *  @param title, Title of the embedded Videos application
      *  @param category, Category which type of videos are browsed
+     *  @param sort, Sort type.
      *  @return None
      */
-    void browseVideos( const QString &title, int category );
+    void browseVideos(const QString &title, int category, int sortRole);
 
 private:
     /** request index of the service */
@@ -83,6 +92,9 @@
     
     /** title of the service client, if not set "Videos" is used */
     QString mTitle;
+    
+    /** sorting role */
+    int mSortRole;
 };
 
 #endif//VIDEOSERVICEBROWSE_H