videocollection/tsrc/stubs/src/hbmainwindow.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 58 d2b028fd1f7d
--- a/videocollection/tsrc/stubs/src/hbmainwindow.cpp	Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/tsrc/stubs/src/hbmainwindow.cpp	Fri Apr 16 18:13:14 2010 +0300
@@ -56,3 +56,15 @@
     }
     return 0;
 }
+
+void HbMainWindow::setCurrentView(HbView *view)
+{
+    for(int i = 0; i < mViews.count(); i++)
+    {
+        if(mViews[i] == view)
+        {
+            mViews.takeAt(i);
+        }
+    }
+    mViews.prepend(view);
+}