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 sending service list and invokes an local sending service |
|
15 * update. This is required to keep the sending service list up-to-date |
|
16 * in a loaded sendui object. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef C_PROPERTYOBSERVER_H |
|
23 #define C_PROPERTYOBSERVER_H |
|
24 |
|
25 #include <e32base.h> |
|
26 #include <e32property.h> |
|
27 |
|
28 class CSendUiImpl; |
|
29 |
|
30 /** |
|
31 * Property observer for catching sending service list updates |
|
32 * |
|
33 * @lib sendui.lib |
|
34 * @since S60 S60 v3.2 |
|
35 */ |
|
36 |
|
37 NONSHARABLE_CLASS ( CPropertyObserver ): public CActive |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 static CPropertyObserver* NewL( CSendUiImpl* aParent ); |
|
43 |
|
44 virtual ~CPropertyObserver(); |
|
45 |
|
46 // from base class CActive |
|
47 |
|
48 /** |
|
49 * From CActive. |
|
50 * |
|
51 * @since S60 v3.2 |
|
52 */ |
|
53 void RunL(); |
|
54 |
|
55 /** |
|
56 * From CActive. |
|
57 * |
|
58 * @since S60 v3.2 |
|
59 */ |
|
60 void DoCancel(); |
|
61 |
|
62 private: |
|
63 |
|
64 CPropertyObserver( CSendUiImpl* aParent ); |
|
65 |
|
66 void ConstructL(); |
|
67 |
|
68 private: // data |
|
69 |
|
70 |
|
71 /** |
|
72 * Used for accessing GetEcomServicesL from CSendUiImpl |
|
73 * Not own. |
|
74 */ |
|
75 CSendUiImpl* iParent; |
|
76 |
|
77 RProperty iPropertyUpdateOperation; |
|
78 |
|
79 }; |
|
80 |
|
81 |
|
82 #endif // C_PROPERTYOBSERVER_H |