videocollection/tsrc/stubs/src/videoservices.cpp
changeset 20 b9e04db066d4
parent 17 69946d1824c4
child 24 7d93ee07fb27
--- a/videocollection/tsrc/stubs/src/videoservices.cpp	Mon May 03 12:32:50 2010 +0300
+++ b/videocollection/tsrc/stubs/src/videoservices.cpp	Fri May 14 15:53:50 2010 +0300
@@ -67,7 +67,8 @@
 VideoServices::VideoServices(QVideoPlayerEngine* engine):
     mReferenceCount(0),
     mEngine(engine),
-    mCurrentService(VideoServices::ENoService)
+    mCurrentService(VideoServices::ENoService),
+    mSortRole(0)
 {
     mServiceUriFetch = new VideoServiceUriFetch(this);
     mServiceBrowse = new VideoServiceBrowse(this);
@@ -100,12 +101,19 @@
 {
 	mCurrentService = service;
 }
+
 QString VideoServices::contextTitle() const
 {
     // not stubbed
     return QString();
 }
 
+int VideoServices::sortRole() const
+{
+    // not stubbed
+    return mSortRole;
+}
+
 void VideoServices::itemSelected(const QString& item)
 {
     Q_UNUSED(item);