videocollection/tsrc/stubs/src/hbmainwindow.cpp
changeset 17 69946d1824c4
parent 15 cf5481c2bc0b
child 62 0e1e938beb1a
--- a/videocollection/tsrc/stubs/src/hbmainwindow.cpp	Fri Apr 16 14:59:52 2010 +0300
+++ b/videocollection/tsrc/stubs/src/hbmainwindow.cpp	Mon May 03 12:32:50 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);
+}