javauis/mmapi_akn/baseline/src.nga/cmmasurfacewindow.cpp
branchRCL_3
changeset 27 d5e927d5853b
parent 26 2455ef1f5bbc
equal deleted inserted replaced
26:2455ef1f5bbc 27:d5e927d5853b
    21 #include <AccMonitorCapabilities.h>
    21 #include <AccMonitorCapabilities.h>
    22 #include "jdebug.h"
    22 #include "jdebug.h"
    23 #include "cmmasurfacewindow.h"
    23 #include "cmmasurfacewindow.h"
    24 #include "cmmaplayer.h"
    24 #include "cmmaplayer.h"
    25 
    25 
       
    26 // Used for const. KMMAVideoPlayer
       
    27 #include "cmmavideoplayer.h"
       
    28 
    26 // Used for iDisplay member
    29 // Used for iDisplay member
    27 #include "mmmadisplay.h"
    30 #include "mmmadisplay.h"
    28 
    31 
    29 EXPORT_C CMMASurfaceWindow* CMMASurfaceWindow::NewL(
    32 EXPORT_C CMMASurfaceWindow* CMMASurfaceWindow::NewL(
    30     CMMAEventSource* aEventSource,
    33     CMMAEventSource* aEventSource,
   675         iDisplay->UIGetCallback(*this,
   678         iDisplay->UIGetCallback(*this,
   676                                 CMMASurfaceWindow::ESetClipRect);
   679                                 CMMASurfaceWindow::ESetClipRect);
   677     }
   680     }
   678 }
   681 }
   679 
   682 
       
   683 TInt CMMASurfaceWindow::PlayerState()
       
   684 {
       
   685     return iPlayer->State();
       
   686 }
       
   687 
       
   688 TBool CMMASurfaceWindow::IsVideoPlayer()
       
   689 {
       
   690     return (iPlayer->Type()== KMMAVideoPlayer);
       
   691 }
       
   692     
       
   693    
   680 //  END OF FILE
   694 //  END OF FILE