javauis/mmapi_akn/baseline/src.nga/cmmasurfacewindow.cpp
branchRCL_3
changeset 27 d5e927d5853b
parent 26 2455ef1f5bbc
--- a/javauis/mmapi_akn/baseline/src.nga/cmmasurfacewindow.cpp	Wed Sep 01 12:33:18 2010 +0100
+++ b/javauis/mmapi_akn/baseline/src.nga/cmmasurfacewindow.cpp	Tue Sep 14 21:06:50 2010 +0300
@@ -23,6 +23,9 @@
 #include "cmmasurfacewindow.h"
 #include "cmmaplayer.h"
 
+// Used for const. KMMAVideoPlayer
+#include "cmmavideoplayer.h"
+
 // Used for iDisplay member
 #include "mmmadisplay.h"
 
@@ -677,4 +680,15 @@
     }
 }
 
+TInt CMMASurfaceWindow::PlayerState()
+{
+    return iPlayer->State();
+}
+
+TBool CMMASurfaceWindow::IsVideoPlayer()
+{
+    return (iPlayer->Type()== KMMAVideoPlayer);
+}
+    
+   
 //  END OF FILE