mmlibs/mmfw/src/Client/Video/mmfclientvideoplayerbody.cpp
changeset 41 f7bf1ed8db72
parent 32 ae690a8c4a18
child 57 1cbb0d5bf7f2
equal deleted inserted replaced
32:ae690a8c4a18 41:f7bf1ed8db72
  1005 		}
  1005 		}
  1006 	}
  1006 	}
  1007 
  1007 
  1008 MMMFDRMCustomCommand* CVideoPlayerUtility::CBody::GetDRMCustomCommand()
  1008 MMMFDRMCustomCommand* CVideoPlayerUtility::CBody::GetDRMCustomCommand()
  1009 	{
  1009 	{
  1010 	// TODO: check controller supports MMMFDRMCustomCommandImplementor
  1010 	// XXX: check controller supports MMMFDRMCustomCommandImplementor
  1011 	TInt error = iDRMCustomCommands.EvaluateIntent(ContentAccess::EPeek);
  1011 	TInt error = iDRMCustomCommands.EvaluateIntent(ContentAccess::EPeek);
  1012 	if (error==KErrNone)
  1012 	if (error==KErrNone)
  1013 		{
  1013 		{
  1014 		return static_cast<MMMFDRMCustomCommand*>(&iDRMCustomCommands);
  1014 		return static_cast<MMMFDRMCustomCommand*>(&iDRMCustomCommands);
  1015 		}
  1015 		}