mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.h
branchGCC_SURGE
changeset 36 6320e299b97a
parent 33 0267baa9dea9
child 54 b68f3e90dca1
--- a/mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.h	Mon Jun 21 22:43:37 2010 +0100
+++ b/mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.h	Thu Jul 22 16:47:59 2010 +0100
@@ -160,14 +160,24 @@
 	TBool SurfaceCropRectChangeRequiresRedraw(TRect aOldSurfaceCropRect, TRect aNewSurfaceCropRect, TRect aClientCropRegion);
 	TBool ClientCropRegionChangeRequiresRedraw(TRect aOldClientCropRegion, TRect aNewClientCropRegion, TRect aSurfaceCropRect);
 	TBool IntersectionAreaChanged(TRect aOldRect, TRect aNewRect, TRect aOtherRect);
-
+	void UpdateDeltaForExtDisplay(TReal32 aViewportAspect, const TRect& aVideoExtent, TInt& aDeltaHeight, TInt& aDeltaWidth);
+	TBool IsWideScreenL();
+	TAutoScaleType ExtDisplayAutoScaleTypeL();
+	
     // MExtDisplayConnectionProviderCallback
-    void MedcpcExtDisplayNotifyConnected(TBool aExtDisplayConnected);
+    void MedcpcExtDisplayNotifyConnected(TExtDisplayConnectionProviderConnType aExtDisplayConnType);
 
     // MMediaClientWsEventObserverCallback
     void MmcweoFocusWindowGroupChanged();
     TBool MmcweoIgnoreProcess(TSecureId aId);
     
+#ifdef MEDIA_CLIENT_SURFACE_NOT_REMOVED_FROM_CLIENT_WINDOW
+    void HideAllClientWindows();
+    TInt HideWindow(RWindowBase* aWindow);
+    void SetHiddenBackgroundSurfaceOnAllClientWindows();
+    TInt SetHiddenBackgroundSurfaceOnClientWindow(TWindowData& aWindowData);
+#endif
+    
 private:
 
     MMMFSurfaceEventHandler* iEventHandler;
@@ -189,7 +199,8 @@
 	TBool iClientWindowIsInFocus;
     TBool iExtDisplayConnected;
     TBool iExtDisplaySwitchingSupported;
-	
+    TExtDisplayConnectionProviderConnType iExtDisplayConnType;
+    
     CMediaClientPolicyServerClient* iServerClient;
     
 	friend class CVideoPlayerUtility::CBody;