videoplayerapp/videoplayerengine/inc/videoservicebrowse.h
changeset 24 7d93ee07fb27
parent 20 b9e04db066d4
child 66 adb51f74b890
--- a/videoplayerapp/videoplayerengine/inc/videoservicebrowse.h	Fri May 14 15:53:50 2010 +0300
+++ b/videoplayerapp/videoplayerengine/inc/videoservicebrowse.h	Thu May 27 12:53:14 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 3 %
+// Version : %version: 4 %
 
 #ifndef VIDEOSERVICEBROWSE_H
 #define VIDEOSERVICEBROWSE_H
@@ -25,13 +25,14 @@
 
 // FORWARD DECLARATIONS
 class VideoServices; 
+class QLatin1String;
 
 class VideoServiceBrowse : public XQServiceProvider
 {
     Q_OBJECT
     
 public:
-    VideoServiceBrowse( VideoServices *parent = 0 );
+    VideoServiceBrowse( VideoServices *parent, QLatin1String service );
     ~VideoServiceBrowse();
     
 public:
@@ -68,6 +69,14 @@
      */
     int sortRole() const;
     
+    /**
+     * Returns service active status
+     *
+     * @return bool true if active, false if not active
+     *
+     */
+    bool isActive();
+
 public slots:
 
     /**
@@ -80,6 +89,15 @@
      */
     void browseVideos(const QString &title, int category, int sortRole);
 
+    /**
+     *  Browse video
+     *
+     *  @param category, Category which type of videos are browsed
+     *  @param sort, Sort type.
+     *  @return None
+     */
+    void browseVideos(int category, int sortRole);
+
 private:
     /** request index of the service */
     int mRequestIndex;