os/mm/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommandsenums.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommandsenums.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,185 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H
    1.20 +#define __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H
    1.21 +
    1.22 +
    1.23 +/**
    1.24 +@internalComponent
    1.25 +*/
    1.26 +enum TMMFAudioResourceNotificationMessages
    1.27 +	{
    1.28 +	EMMFAudioResourceRegisterNotification,
    1.29 +	EMMFAudioResourceCancelRegisterNotification,
    1.30 +	EMMFAudioResourceGetNotificationData,
    1.31 +	EMMFAudioResourceWillResumePlay
    1.32 +	};
    1.33 +
    1.34 +/**
    1.35 +@internalComponent
    1.36 +*/
    1.37 +enum TMMFAudioPlayDeviceMessages
    1.38 +	{
    1.39 +	EMMFAudioPlayDeviceSetVolume,
    1.40 +	EMMFAudioPlayDeviceGetMaxVolume,
    1.41 +	EMMFAudioPlayDeviceGetVolume,
    1.42 +	EMMFAudioPlayDeviceSetVolumeRamp,
    1.43 +	EMMFAudioPlayDeviceSetBalance,
    1.44 +	EMMFAudioPlayDeviceGetBalance
    1.45 +	};
    1.46 +
    1.47 +/**
    1.48 +@internalComponent
    1.49 +*/
    1.50 +enum TMMFAudioRecordDeviceMessage
    1.51 +	{
    1.52 +	EMMFAudioRecordDeviceSetGain,
    1.53 +	EMMFAudioRecordDeviceGetMaxGain,
    1.54 +	EMMFAudioRecordDeviceGetGain,
    1.55 +	EMMFAudioRecordDeviceSetBalance,
    1.56 +	EMMFAudioRecordDeviceGetBalance
    1.57 +	};
    1.58 +
    1.59 +/**
    1.60 +@internalComponent
    1.61 +*/
    1.62 +enum TMMFAudioPlayControllerMessages
    1.63 +	{
    1.64 +	EMMFAudioPlayControllerSetPlaybackWindow,
    1.65 +	EMMFAudioPlayControllerDeletePlaybackWindow,
    1.66 +	EMMFAudioPlayControllerGetLoadingProgress
    1.67 +	};
    1.68 +
    1.69 +/**
    1.70 +@internalComponent
    1.71 +*/
    1.72 +enum TMMFAudioRecordControllerMessages
    1.73 +	{
    1.74 +	EMMFAudioRecordControllerGetRecordTimeAvailable,
    1.75 +	EMMFAudioRecordControllerSetMaxDuration,
    1.76 +	EMMFAudioRecordControllerSetMaxFileSize,
    1.77 +	EMMFAudioRecordControllerCrop,
    1.78 +	EMMFAudioRecordControllerAddMetaDataEntry,
    1.79 +	EMMFAudioRecordControllerRemoveMetaDataEntry,
    1.80 +	EMMFAudioRecordControllerReplaceMetaDataEntry
    1.81 +	};
    1.82 +
    1.83 +
    1.84 +/**
    1.85 +@internalComponent
    1.86 +*/
    1.87 +enum TMMFVideoControllerMessages
    1.88 +	{
    1.89 +	EMMFVideoControllerGetAudioCodec,
    1.90 +	EMMFVideoControllerGetVideoBitRate,
    1.91 +	EMMFVideoControllerGetAudioBitRate,
    1.92 +	EMMFVideoControllerGetVideoFrameSize,
    1.93 +	EMMFVideoControllerSetFrameRate,
    1.94 +	EMMFVideoControllerGetFrameRate,
    1.95 +	EMMFVideoControllerGetVideoMimeType
    1.96 +	};
    1.97 +
    1.98 +
    1.99 +/**
   1.100 +@internalComponent
   1.101 +*/
   1.102 +enum TMMFVideoPlayControllerMessages
   1.103 +	{
   1.104 +	EMMFVideoPlayControllerPrepare,
   1.105 +	EMMFVideoPlayControllerGetFrame,
   1.106 +	EMMFVideoPlayControllerSetDisplayWindow,
   1.107 +	EMMFVideoPlayControllerGetAudioEnabled,
   1.108 +	EMMFVideoPlayControllerUpdateDisplayRegion,
   1.109 +	EMMFVideoPlayControllerDSAEvent,
   1.110 +	EMMFVideoPlayControllerPlay,
   1.111 +	EMMFVideoPlayControllerRefreshFrame,
   1.112 +	EMMFVideoPlayControllerGetLoadingProgress,
   1.113 +	EMMFVideoPlayControllerSetRotation,
   1.114 +	EMMFVideoPlayControllerGetRotation,
   1.115 +	EMMFVideoPlayControllerSetScaleFactor,
   1.116 +	EMMFVideoPlayControllerGetScaleFactor,
   1.117 +	EMMFVideoPlayControllerSetCropRegion,
   1.118 +	EMMFVideoPlayControllerGetCropRegion
   1.119 +	};
   1.120 +
   1.121 +/**
   1.122 +@internalComponent
   1.123 +*/
   1.124 +enum TMMFDRMIntentMessages
   1.125 +	{
   1.126 +	EMMFVideoDRMExtGetFrame
   1.127 +	};
   1.128 +
   1.129 +
   1.130 +/**
   1.131 +@internalComponent
   1.132 +*/
   1.133 +enum TMMFVideoScreenDeviceMessages
   1.134 +	{
   1.135 +	EMMFVideoSetInitScreenNumber
   1.136 +	};
   1.137 +
   1.138 +
   1.139 +/**
   1.140 +Used for commands between RMMFVideoPlayControllerExtCustomCommands and 
   1.141 +CMMFVideoPlayControllerExtCustomCommandParser classes.
   1.142 +
   1.143 +@internalComponent
   1.144 +*/
   1.145 +enum TMMFVideoPlayControllerExtCustomCommandConfigMessages
   1.146 +	{
   1.147 +	EMMFVideoPlayControllerSetPlayVelocity = 0,
   1.148 +	EMMFVideoPlayControllerPlayVelocity,
   1.149 +	EMMFVideoPlayControllerStepFrame,
   1.150 +	EMMFVideoPlayControllerGetPlayRateCapabilities,
   1.151 +	EMMFVideoPlayControllerSetVideoEnabled,
   1.152 +	EMMFVideoPlayControllerVideoEnabled,
   1.153 +	EMMFVideoPlayControllerSetAudioEnabled,
   1.154 +	EMMFVideoPlayControllerSetAutoScale
   1.155 +	};
   1.156 +/**
   1.157 +@internalComponent
   1.158 +*/
   1.159 +class TMMFVideoPlayAutoScaleParams
   1.160 +	{
   1.161 +public:
   1.162 +	TAutoScaleType iScaleType;
   1.163 +	TInt iHorizPos;
   1.164 +	TInt iVertPos;
   1.165 +	};
   1.166 +
   1.167 +/**
   1.168 +@internalComponent
   1.169 +*/
   1.170 +enum TMMFVideoRecorderExtCustomCommandConfigMessages
   1.171 +	{
   1.172 +	EMMFVideoRecordControllerSetVideoEnabled = 0,
   1.173 +	EMMFVideoRecordControllerVideoEnabled,
   1.174 +	EMMFVideoRecordControllerSetVideoQuality,	
   1.175 +	EMMFVideoRecordControllerVideoQuality,
   1.176 +	EMMFVideoRecordControllerSetVideoFrameRateFixed,
   1.177 +	EMMFVideoRecordControllerVideoFrameRateFixed
   1.178 +	};
   1.179 +
   1.180 +/**
   1.181 +@internalComponent
   1.182 +*/
   1.183 +enum TMMFAudioPlayControllerSetRepeatsMessages
   1.184 +	{
   1.185 +	EMMFAudioPlayControllerSetRepeats
   1.186 +	};
   1.187 +
   1.188 +#endif