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 M_RADIOREPOSITORYENTITYOBSERVER_H |
|
19 #define M_RADIOREPOSITORYENTITYOBSERVER_H |
|
20 |
|
21 /** |
|
22 * Entity observer interface. |
|
23 */ |
|
24 NONSHARABLE_CLASS( MRadioRepositoryEntityObserver ) |
|
25 { |
|
26 |
|
27 public: |
|
28 |
|
29 /** |
|
30 * Invoked when the observed entity's value is changed. |
|
31 * |
|
32 * @param aUid The UID of the entity. |
|
33 * @param aKey The key of the entity. |
|
34 * @param aValue The new value of the entity. |
|
35 * @param aError One of the standard system error codes. |
|
36 */ |
|
37 virtual void HandleRepositoryValueChangeL( const TUid& aUid, TUint32 aKey, TInt aValue, TInt aError ) = 0; |
|
38 |
|
39 /** |
|
40 * Invoked when the observed entity's value is changed. |
|
41 * |
|
42 * @param aUid The UID of the entity. |
|
43 * @param aKey The key of the entity. |
|
44 * @param aValue The new value of the entity. |
|
45 * @param aError One of the standard system error codes. |
|
46 */ |
|
47 virtual void HandleRepositoryValueChangeL( const TUid& aUid, TUint32 aKey, const TReal& aValue, TInt aError ) = 0; |
|
48 |
|
49 /** |
|
50 * Invoked when the observed entity's value is changed. |
|
51 * |
|
52 * @param aUid The UID of the entity. |
|
53 * @param aKey The key of the entity. |
|
54 * @param aValue The new value of the entity. |
|
55 * @param aError One of the standard system error codes. |
|
56 */ |
|
57 virtual void HandleRepositoryValueChangeL( const TUid& aUid, TUint32 aKey, const TDesC8& aValue, TInt aError ) = 0; |
|
58 |
|
59 /** |
|
60 * Invoked when the observed entity's value is changed. |
|
61 * |
|
62 * @param aUid The UID of the entity. |
|
63 * @param aKey The key of the entity. |
|
64 * @param aValue The new value of the entity. |
|
65 * @param aError One of the standard system error codes. |
|
66 */ |
|
67 virtual void HandleRepositoryValueChangeL( const TUid& aUid, TUint32 aKey, const TDesC16& aValue, TInt aError ) = 0; |
|
68 |
|
69 }; |
|
70 |
|
71 #endif // M_RADIOREPOSITORYENTITYOBSERVER_H |
|
72 |
|