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