mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbmainwindow.h
changeset 34 01f0bb65bcf1
parent 22 496ad160a278
--- a/mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbmainwindow.h	Wed Aug 18 09:46:00 2010 +0300
+++ b/mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbmainwindow.h	Thu Sep 02 20:23:40 2010 +0300
@@ -23,6 +23,9 @@
 #include <hbnamespace.h>
 
 class QGraphicsWidget;
+class QWindowSurface 
+    {
+    };
 class HbAction;
 class HbView;
 
@@ -44,12 +47,18 @@
     void show(){};
     QList<HbView *> views() const;
     QRectF sceneRect() const;
+
+    //Overiding function for stub
+    QWindowSurface *windowSurface() const;
     
 private: // Data added for the unit testing stub
-	HbView* mCurrentView; // Not owned
-	int mViewCount;
-	Qt::Orientation mOrientation;
-  QList<HbView*> mTestViews;
+    HbView* mCurrentView; // Not owned
+    int mViewCount;
+    Qt::Orientation mOrientation;
+    QList<HbView*> mTestViews;
+
+public :     
+    QWindowSurface *mSurface;
 };
 
 #endif // HBMAINWINDOW_H