mmlibs/mmfw/src/Client/Video/mmfclientvideoplayerbody.cpp
changeset 32 ae690a8c4a18
parent 31 ae0addfe117e
child 41 f7bf1ed8db72
equal deleted inserted replaced
31:ae0addfe117e 32:ae690a8c4a18
  1005 		}
  1005 		}
  1006 	}
  1006 	}
  1007 
  1007 
  1008 MMMFDRMCustomCommand* CVideoPlayerUtility::CBody::GetDRMCustomCommand()
  1008 MMMFDRMCustomCommand* CVideoPlayerUtility::CBody::GetDRMCustomCommand()
  1009 	{
  1009 	{
  1010 	// XXX: check controller supports MMMFDRMCustomCommandImplementor
  1010 	// TODO: 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 		}