1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MLCZOOMCONTROL_H |
|
19 #define MLCZOOMCONTROL_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 |
|
24 // CLASS DECLARATION |
|
25 /** |
|
26 * Class for controlling the zoom level of a video player. |
|
27 */ |
|
28 class MLcZoomControl |
|
29 { |
|
30 public: |
|
31 |
|
32 /** |
|
33 * Returns the minimum zoom value. |
|
34 * @return the minimum zoom value |
|
35 */ |
|
36 virtual TInt MinLcZoomL() = 0; |
|
37 |
|
38 /** |
|
39 * Returns the maximum zoom value. |
|
40 * @return the maximum zoom value |
|
41 */ |
|
42 virtual TInt MaxLcZoomL() = 0; |
|
43 |
|
44 /** |
|
45 * Returns the current value for the zoom. |
|
46 * @return the current zoom value |
|
47 */ |
|
48 virtual TInt LcZoomValueL() = 0; |
|
49 |
|
50 /** |
|
51 * Sets the current zoom level. |
|
52 * @pre aValue >= MinLcZoomL && aValue <= MaxLcZoomL |
|
53 * @param aValue the new zoom level |
|
54 */ |
|
55 virtual void SetLcZoomValueL( TInt aValue ) = 0; |
|
56 |
|
57 /** |
|
58 * Zooms in by one step. |
|
59 */ |
|
60 virtual void LcZoomInL() = 0; |
|
61 |
|
62 /** |
|
63 * Zooms out by one step. |
|
64 */ |
|
65 virtual void LcZoomOutL() = 0; |
|
66 }; |
|
67 |
|
68 #endif // MLCZOOMCONTROL_H |
|
69 |
|
70 // end of file |
|