photosgallery/viewframework/tvout/src/glxhdmicontroller.cpp
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 13 71da52165949
child 18 bcb43dc84c44
equal deleted inserted replaced
13:71da52165949 14:ce1c7ad1f18b
    92     }
    92     }
    93 
    93 
    94 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
    95 // IsVideo 
    95 // IsVideo 
    96 // -----------------------------------------------------------------------------
    96 // -----------------------------------------------------------------------------
    97 EXPORT_C void CGlxHdmiController::IsVideo()
    97 EXPORT_C void CGlxHdmiController::ItemNotSupported()
    98     {
    98     {
    99     TRACER("CGlxHdmiController::IsVideo()");
    99     TRACER("CGlxHdmiController::IsVideo()");
   100     iImageSupported = EFalse;
   100     iImageSupported = EFalse;
   101     if (iGlxTvOut->IsHDMIConnected())
   101     if (iGlxTvOut->IsHDMIConnected())
   102         {
   102         {
   106 
   106 
   107 
   107 
   108 // -----------------------------------------------------------------------------
   108 // -----------------------------------------------------------------------------
   109 // ActivateZoom 
   109 // ActivateZoom 
   110 // -----------------------------------------------------------------------------
   110 // -----------------------------------------------------------------------------
   111 EXPORT_C void CGlxHdmiController::ActivateZoom()
   111 EXPORT_C void CGlxHdmiController::ActivateZoom(TBool aAutoZoomOut)
   112     {
   112     {
   113     TRACER("CGlxHdmiController::ActivateZoom()");
   113     TRACER("CGlxHdmiController::ActivateZoom()");
   114     if (iGlxTvOut->IsHDMIConnected())
   114     if (iGlxTvOut->IsHDMIConnected())
   115         {
   115         {
   116         iSurfaceUpdater->ActivateZoom();
   116         iSurfaceUpdater->ActivateZoom(aAutoZoomOut);
   117         }
   117         }
   118     }
   118     }
   119 
   119 
   120 // -----------------------------------------------------------------------------
   120 // -----------------------------------------------------------------------------
   121 // DeactivateZoom 
   121 // DeactivateZoom 
   261             DestroySurfaceUpdater();
   261             DestroySurfaceUpdater();
   262             }
   262             }
   263         }
   263         }
   264     }
   264     }
   265 
   265 
       
   266 // -----------------------------------------------------------------------------
       
   267 // HandleTvStatusChangedL 
       
   268 // -----------------------------------------------------------------------------
       
   269 EXPORT_C TBool CGlxHdmiController::IsHDMIConnected()
       
   270     {
       
   271     TRACER("CGlxHdmiController::IsHDMIConnected()");
       
   272     return iGlxTvOut->IsHDMIConnected(); 
       
   273     }
       
   274