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