equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Observes when key values are changed |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCANOTIFIERKEYOBSERVER_H |
|
20 #define MCANOTIFIERKEYOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <bldvariant.hrh> |
|
25 |
|
26 class TUpdatedKey |
|
27 { |
|
28 public: |
|
29 TUpdatedKey() {}; |
|
30 public: |
|
31 TUid iUid; |
|
32 TUint32 iKey; |
|
33 TInt iValue; |
|
34 }; |
|
35 |
|
36 /** |
|
37 * Notifier inteface for Pub&Sub or shared data key changes |
|
38 * (depends on which system is used in the platform) |
|
39 * |
|
40 * @since Series 60 2.6 |
|
41 */ |
|
42 class MCANotifierKeyObserver |
|
43 { |
|
44 public: // New functions |
|
45 |
|
46 /** |
|
47 * This function is called when a PS or shared data key value is changed |
|
48 * @param aUpdatedValues |
|
49 */ |
|
50 virtual void HandleKeyChange( TUpdatedKey& aUpdatedValues ) = 0; |
|
51 |
|
52 protected: // Destructor |
|
53 virtual ~MCANotifierKeyObserver() {}; |
|
54 }; |
|
55 #endif // MCANOTIFIERKEYOBSERVER_H |
|
56 |
|
57 // End of File |
|
58 |