os/mm/mmlibs/mmfw/inc/mmf/ControllerFramework/mmfstandardcustomcommandsenums.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H
    17 #define __MMFSTANDARDCUSTOMCOMMANDS_ENUMS_H
    18 
    19 
    20 /**
    21 @internalComponent
    22 */
    23 enum TMMFAudioResourceNotificationMessages
    24 	{
    25 	EMMFAudioResourceRegisterNotification,
    26 	EMMFAudioResourceCancelRegisterNotification,
    27 	EMMFAudioResourceGetNotificationData,
    28 	EMMFAudioResourceWillResumePlay
    29 	};
    30 
    31 /**
    32 @internalComponent
    33 */
    34 enum TMMFAudioPlayDeviceMessages
    35 	{
    36 	EMMFAudioPlayDeviceSetVolume,
    37 	EMMFAudioPlayDeviceGetMaxVolume,
    38 	EMMFAudioPlayDeviceGetVolume,
    39 	EMMFAudioPlayDeviceSetVolumeRamp,
    40 	EMMFAudioPlayDeviceSetBalance,
    41 	EMMFAudioPlayDeviceGetBalance
    42 	};
    43 
    44 /**
    45 @internalComponent
    46 */
    47 enum TMMFAudioRecordDeviceMessage
    48 	{
    49 	EMMFAudioRecordDeviceSetGain,
    50 	EMMFAudioRecordDeviceGetMaxGain,
    51 	EMMFAudioRecordDeviceGetGain,
    52 	EMMFAudioRecordDeviceSetBalance,
    53 	EMMFAudioRecordDeviceGetBalance
    54 	};
    55 
    56 /**
    57 @internalComponent
    58 */
    59 enum TMMFAudioPlayControllerMessages
    60 	{
    61 	EMMFAudioPlayControllerSetPlaybackWindow,
    62 	EMMFAudioPlayControllerDeletePlaybackWindow,
    63 	EMMFAudioPlayControllerGetLoadingProgress
    64 	};
    65 
    66 /**
    67 @internalComponent
    68 */
    69 enum TMMFAudioRecordControllerMessages
    70 	{
    71 	EMMFAudioRecordControllerGetRecordTimeAvailable,
    72 	EMMFAudioRecordControllerSetMaxDuration,
    73 	EMMFAudioRecordControllerSetMaxFileSize,
    74 	EMMFAudioRecordControllerCrop,
    75 	EMMFAudioRecordControllerAddMetaDataEntry,
    76 	EMMFAudioRecordControllerRemoveMetaDataEntry,
    77 	EMMFAudioRecordControllerReplaceMetaDataEntry
    78 	};
    79 
    80 
    81 /**
    82 @internalComponent
    83 */
    84 enum TMMFVideoControllerMessages
    85 	{
    86 	EMMFVideoControllerGetAudioCodec,
    87 	EMMFVideoControllerGetVideoBitRate,
    88 	EMMFVideoControllerGetAudioBitRate,
    89 	EMMFVideoControllerGetVideoFrameSize,
    90 	EMMFVideoControllerSetFrameRate,
    91 	EMMFVideoControllerGetFrameRate,
    92 	EMMFVideoControllerGetVideoMimeType
    93 	};
    94 
    95 
    96 /**
    97 @internalComponent
    98 */
    99 enum TMMFVideoPlayControllerMessages
   100 	{
   101 	EMMFVideoPlayControllerPrepare,
   102 	EMMFVideoPlayControllerGetFrame,
   103 	EMMFVideoPlayControllerSetDisplayWindow,
   104 	EMMFVideoPlayControllerGetAudioEnabled,
   105 	EMMFVideoPlayControllerUpdateDisplayRegion,
   106 	EMMFVideoPlayControllerDSAEvent,
   107 	EMMFVideoPlayControllerPlay,
   108 	EMMFVideoPlayControllerRefreshFrame,
   109 	EMMFVideoPlayControllerGetLoadingProgress,
   110 	EMMFVideoPlayControllerSetRotation,
   111 	EMMFVideoPlayControllerGetRotation,
   112 	EMMFVideoPlayControllerSetScaleFactor,
   113 	EMMFVideoPlayControllerGetScaleFactor,
   114 	EMMFVideoPlayControllerSetCropRegion,
   115 	EMMFVideoPlayControllerGetCropRegion
   116 	};
   117 
   118 /**
   119 @internalComponent
   120 */
   121 enum TMMFDRMIntentMessages
   122 	{
   123 	EMMFVideoDRMExtGetFrame
   124 	};
   125 
   126 
   127 /**
   128 @internalComponent
   129 */
   130 enum TMMFVideoScreenDeviceMessages
   131 	{
   132 	EMMFVideoSetInitScreenNumber
   133 	};
   134 
   135 
   136 /**
   137 Used for commands between RMMFVideoPlayControllerExtCustomCommands and 
   138 CMMFVideoPlayControllerExtCustomCommandParser classes.
   139 
   140 @internalComponent
   141 */
   142 enum TMMFVideoPlayControllerExtCustomCommandConfigMessages
   143 	{
   144 	EMMFVideoPlayControllerSetPlayVelocity = 0,
   145 	EMMFVideoPlayControllerPlayVelocity,
   146 	EMMFVideoPlayControllerStepFrame,
   147 	EMMFVideoPlayControllerGetPlayRateCapabilities,
   148 	EMMFVideoPlayControllerSetVideoEnabled,
   149 	EMMFVideoPlayControllerVideoEnabled,
   150 	EMMFVideoPlayControllerSetAudioEnabled,
   151 	EMMFVideoPlayControllerSetAutoScale
   152 	};
   153 /**
   154 @internalComponent
   155 */
   156 class TMMFVideoPlayAutoScaleParams
   157 	{
   158 public:
   159 	TAutoScaleType iScaleType;
   160 	TInt iHorizPos;
   161 	TInt iVertPos;
   162 	};
   163 
   164 /**
   165 @internalComponent
   166 */
   167 enum TMMFVideoRecorderExtCustomCommandConfigMessages
   168 	{
   169 	EMMFVideoRecordControllerSetVideoEnabled = 0,
   170 	EMMFVideoRecordControllerVideoEnabled,
   171 	EMMFVideoRecordControllerSetVideoQuality,	
   172 	EMMFVideoRecordControllerVideoQuality,
   173 	EMMFVideoRecordControllerSetVideoFrameRateFixed,
   174 	EMMFVideoRecordControllerVideoFrameRateFixed
   175 	};
   176 
   177 /**
   178 @internalComponent
   179 */
   180 enum TMMFAudioPlayControllerSetRepeatsMessages
   181 	{
   182 	EMMFAudioPlayControllerSetRepeats
   183 	};
   184 
   185 #endif