1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __VEICUTVIDEOCONTAINER_INL__ |
|
21 #define __VEICUTVIDEOCONTAINER_INL__ |
|
22 |
|
23 public: |
|
24 /** |
|
25 * Returns total length of the video clip. |
|
26 * |
|
27 * @return total length |
|
28 */ |
|
29 inline TTimeIntervalMicroSeconds TotalLength() { return iDuration; }; |
|
30 |
|
31 /** |
|
32 * Returns the player state. |
|
33 * |
|
34 * @return player state |
|
35 */ |
|
36 inline TCutVideoState State() { return iState; }; |
|
37 /** |
|
38 * Returns current volume level. |
|
39 * |
|
40 * @return volume level |
|
41 */ |
|
42 inline TInt Volume() const { return iInternalVolume; }; |
|
43 |
|
44 /** |
|
45 * Returns minimum volume level. |
|
46 * |
|
47 * @return min volume level |
|
48 */ |
|
49 inline TInt MinVolume() const { return KMinCutVideoVolumeLevel; }; |
|
50 |
|
51 /** |
|
52 * Returns maximum volume level. |
|
53 * |
|
54 * @return max volume level |
|
55 */ |
|
56 inline TInt MaxVolume() const { return KMaxVolumeLevel; }; |
|
57 /** |
|
58 * Change volume level. Changes current volume level to given level. |
|
59 * |
|
60 * @param aVolumeLevel new volume level |
|
61 */ |
|
62 inline void SetVolume( TInt aVolumeLevel ) { iInternalVolume = aVolumeLevel; }; |
|
63 |
|
64 #endif // __VEICUTVIDEOCONTAINER |
|