equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 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: Defines abstract interface for CCamSettingsModel observers* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 #ifndef CAMSETTINGSMODELOBSERVER_H |
|
20 #define CAMSETTINGSMODELOBSERVER_H |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 // #include "CamSettings.hrh" |
|
26 #include "CamSettingsInternal.hrh" |
|
27 |
|
28 |
|
29 // CONSTANTS |
|
30 |
|
31 // MACROS |
|
32 |
|
33 // DATA TYPES |
|
34 |
|
35 // FUNCTION PROTOTYPES |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 class CCamVideoQualityLevel; |
|
39 // CLASS DECLARATION |
|
40 |
|
41 /** |
|
42 * Abstract API for settings model observer. |
|
43 * Derived classes may register as observers to get related |
|
44 * notifications about events from CCamSettingsModel. |
|
45 * |
|
46 * @since 2.8 |
|
47 */ |
|
48 class MCamSettingsModelObserver |
|
49 { |
|
50 public: |
|
51 |
|
52 /** |
|
53 * Notification for change in integer setting item value. |
|
54 * |
|
55 */ |
|
56 virtual void IntSettingChangedL( TCamSettingItemIds aSettingItem, TInt aSettingValue ) = 0; |
|
57 |
|
58 /** |
|
59 * Notification for change in text setting item value. |
|
60 * |
|
61 */ |
|
62 virtual void TextSettingChangedL( TCamSettingItemIds aSettingItem, const TDesC& aSettingValue ) = 0; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // CAMSETTINGSMODELOBSERVER_H |
|
67 |
|
68 // End of File |
|