sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H sl@0: #define __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioResourceNotificationMessages sl@0: { sl@0: EMMFAudioResourceRegisterNotification, sl@0: EMMFAudioResourceCancelRegisterNotification, sl@0: EMMFAudioResourceGetNotificationData, sl@0: EMMFAudioResourceWillResumePlay sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioPlayDeviceMessages sl@0: { sl@0: EMMFAudioPlayDeviceSetVolume, sl@0: EMMFAudioPlayDeviceGetMaxVolume, sl@0: EMMFAudioPlayDeviceGetVolume, sl@0: EMMFAudioPlayDeviceSetVolumeRamp, sl@0: EMMFAudioPlayDeviceSetBalance, sl@0: EMMFAudioPlayDeviceGetBalance sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioRecordDeviceMessage sl@0: { sl@0: EMMFAudioRecordDeviceSetGain, sl@0: EMMFAudioRecordDeviceGetMaxGain, sl@0: EMMFAudioRecordDeviceGetGain, sl@0: EMMFAudioRecordDeviceSetBalance, sl@0: EMMFAudioRecordDeviceGetBalance sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioPlayControllerMessages sl@0: { sl@0: EMMFAudioPlayControllerSetPlaybackWindow, sl@0: EMMFAudioPlayControllerDeletePlaybackWindow, sl@0: EMMFAudioPlayControllerGetLoadingProgress sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioRecordControllerMessages sl@0: { sl@0: EMMFAudioRecordControllerGetRecordTimeAvailable, sl@0: EMMFAudioRecordControllerSetMaxDuration, sl@0: EMMFAudioRecordControllerSetMaxFileSize, sl@0: EMMFAudioRecordControllerCrop, sl@0: EMMFAudioRecordControllerAddMetaDataEntry, sl@0: EMMFAudioRecordControllerRemoveMetaDataEntry, sl@0: EMMFAudioRecordControllerReplaceMetaDataEntry sl@0: }; sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFVideoControllerMessages sl@0: { sl@0: EMMFVideoControllerGetAudioCodec, sl@0: EMMFVideoControllerGetVideoBitRate, sl@0: EMMFVideoControllerGetAudioBitRate, sl@0: EMMFVideoControllerGetVideoFrameSize, sl@0: EMMFVideoControllerSetFrameRate, sl@0: EMMFVideoControllerGetFrameRate, sl@0: EMMFVideoControllerGetVideoMimeType sl@0: }; sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFVideoPlayControllerMessages sl@0: { sl@0: EMMFVideoPlayControllerPrepare, sl@0: EMMFVideoPlayControllerGetFrame, sl@0: EMMFVideoPlayControllerSetDisplayWindow, sl@0: EMMFVideoPlayControllerGetAudioEnabled, sl@0: EMMFVideoPlayControllerUpdateDisplayRegion, sl@0: EMMFVideoPlayControllerDSAEvent, sl@0: EMMFVideoPlayControllerPlay, sl@0: EMMFVideoPlayControllerRefreshFrame, sl@0: EMMFVideoPlayControllerGetLoadingProgress, sl@0: EMMFVideoPlayControllerSetRotation, sl@0: EMMFVideoPlayControllerGetRotation, sl@0: EMMFVideoPlayControllerSetScaleFactor, sl@0: EMMFVideoPlayControllerGetScaleFactor, sl@0: EMMFVideoPlayControllerSetCropRegion, sl@0: EMMFVideoPlayControllerGetCropRegion sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFDRMIntentMessages sl@0: { sl@0: EMMFVideoDRMExtGetFrame sl@0: }; sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFVideoScreenDeviceMessages sl@0: { sl@0: EMMFVideoSetInitScreenNumber sl@0: }; sl@0: sl@0: sl@0: /** sl@0: Used for commands between RMMFVideoPlayControllerExtCustomCommands and sl@0: CMMFVideoPlayControllerExtCustomCommandParser classes. sl@0: sl@0: @internalComponent sl@0: */ sl@0: enum TMMFVideoPlayControllerExtCustomCommandConfigMessages sl@0: { sl@0: EMMFVideoPlayControllerSetPlayVelocity = 0, sl@0: EMMFVideoPlayControllerPlayVelocity, sl@0: EMMFVideoPlayControllerStepFrame, sl@0: EMMFVideoPlayControllerGetPlayRateCapabilities, sl@0: EMMFVideoPlayControllerSetVideoEnabled, sl@0: EMMFVideoPlayControllerVideoEnabled, sl@0: EMMFVideoPlayControllerSetAudioEnabled, sl@0: EMMFVideoPlayControllerSetAutoScale sl@0: }; sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: class TMMFVideoPlayAutoScaleParams sl@0: { sl@0: public: sl@0: TAutoScaleType iScaleType; sl@0: TInt iHorizPos; sl@0: TInt iVertPos; sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFVideoRecorderExtCustomCommandConfigMessages sl@0: { sl@0: EMMFVideoRecordControllerSetVideoEnabled = 0, sl@0: EMMFVideoRecordControllerVideoEnabled, sl@0: EMMFVideoRecordControllerSetVideoQuality, sl@0: EMMFVideoRecordControllerVideoQuality, sl@0: EMMFVideoRecordControllerSetVideoFrameRateFixed, sl@0: EMMFVideoRecordControllerVideoFrameRateFixed sl@0: }; sl@0: sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: enum TMMFAudioPlayControllerSetRepeatsMessages sl@0: { sl@0: EMMFAudioPlayControllerSetRepeats sl@0: }; sl@0: sl@0: #endif