|
1 /* |
|
2 * Copyright (c) 2008 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: Videoteleng Camera Preferences extension Observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MVTENGCAMERAPREFERENCESOBSERVER_H |
|
20 #define MVTENGCAMERAPREFERENCESOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <mvtengcamerapreferences.h> |
|
24 |
|
25 /** |
|
26 * Camera preferences extension observer. |
|
27 * |
|
28 * @lib videoteleng.lib |
|
29 * @since S60 v5.0 |
|
30 */ |
|
31 class MVtEngCameraPreferencesObserver |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Called when observer is attached to camera preferences instance. |
|
38 * @param aCamPrefs Reference to camera preferences instance this observer |
|
39 * was attached to. |
|
40 */ |
|
41 virtual void Attach( MVtEngCameraPreferences& aCamPrefs ) = 0; |
|
42 |
|
43 /** |
|
44 * Called when color tone is updated. |
|
45 * @param aColorTone New color tone value. |
|
46 */ |
|
47 virtual void ColorToneUpdated( |
|
48 MVtEngCameraPreferences::TColorTone aColorTone ) = 0; |
|
49 |
|
50 /** |
|
51 * Called when white balance is updated. |
|
52 * @param aWhiteBalance New white balance value. |
|
53 */ |
|
54 virtual void WhiteBalanceUpdated( |
|
55 MVtEngCameraPreferences::TWhiteBalance aWhiteBalance ) = 0; |
|
56 |
|
57 /** |
|
58 * Called when brightness is updated. |
|
59 * @param aBrightness New brightness value set. |
|
60 */ |
|
61 virtual void BrightnessUpdated( TInt aBrightness ) = 0; |
|
62 |
|
63 /** |
|
64 * Called when contrast is updated. |
|
65 * @param aContrast New contrast value set. |
|
66 */ |
|
67 virtual void ContrastUpdated( TInt aContrast ) = 0; |
|
68 |
|
69 /** |
|
70 * Called when observer is detached from camera preferences instance. |
|
71 * @param aCamPrefs Reference to camera preferences instance this observer |
|
72 * was detached from. |
|
73 */ |
|
74 virtual void Detach( MVtEngCameraPreferences& aCamPrefs ) = 0; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // MVTENGCAMERAPREFERENCESOBSERVER_H |
|
79 |