equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
17 |
17 |
18 |
18 |
19 #ifndef __RFSPDPOBSERVER_H |
19 #ifndef __RFSPDPOBSERVER_H |
20 #define __RFSPDPOBSERVER_H |
20 #define __RFSPDPOBSERVER_H |
21 |
21 |
|
22 #include <hbdeviceprogressdialogsymbian.h> |
22 |
23 |
23 enum TRfsConnectionCloseState |
24 enum TRfsConnectionCloseState |
24 { |
25 { |
25 ESipConnectionClose, |
26 ESipConnectionClose, |
26 EPdpConnectionClose // this should be the last enum |
27 EPdpConnectionClose // this should be the last enum |
27 }; |
28 }; |
28 |
29 |
29 NONSHARABLE_CLASS( CRfsConnectionObserver ): CActive |
30 NONSHARABLE_CLASS( CRfsConnectionObserver ): CActive,public MHbDeviceProgressDialogObserver |
30 { |
31 { |
31 public: |
32 public: |
32 |
33 |
33 /** |
34 /** |
34 * Two-phased constructor |
35 * Two-phased constructor |
37 |
38 |
38 /** |
39 /** |
39 * Destructor |
40 * Destructor |
40 */ |
41 */ |
41 virtual ~CRfsConnectionObserver(); |
42 virtual ~CRfsConnectionObserver(); |
|
43 |
|
44 void ProgressDialogCancelled(const CHbDeviceProgressDialogSymbian* iDialog); |
|
45 |
|
46 void ProgressDialogClosed(const CHbDeviceProgressDialogSymbian * iDialog) ; |
|
47 |
42 |
48 |
43 public: |
49 public: |
44 /** |
50 /** |
45 * New methods |
51 * New methods |
46 */ |
52 */ |
126 private: |
132 private: |
127 |
133 |
128 /** |
134 /** |
129 * Own: Wait dialog |
135 * Own: Wait dialog |
130 */ |
136 */ |
131 CAknWaitDialog* iWaitDialog; |
137 CHbDeviceProgressDialogSymbian* iDialog ; |
132 |
138 /** |
133 /** |
|
134 * Own: PDP property |
139 * Own: PDP property |
135 */ |
140 */ |
136 RProperty iPDPProperty; |
141 RProperty iPDPProperty; |
137 |
142 |
138 /** |
143 /** |
167 TBool iIsSipInformedForClosingAllConnection; |
172 TBool iIsSipInformedForClosingAllConnection; |
168 TBool iIsPDPInformedforClosingAllConnection; |
173 TBool iIsPDPInformedforClosingAllConnection; |
169 TBool iIsClosingConnectionsApplicable; |
174 TBool iIsClosingConnectionsApplicable; |
170 |
175 |
171 TRfsConnectionCloseState iState; |
176 TRfsConnectionCloseState iState; |
|
177 //for synchronous dialog handling |
|
178 CActiveSchedulerWait *iWait; |
172 }; |
179 }; |
173 |
180 |
174 #endif //RFSPDPOBSERVER_H |
181 #endif //RFSPDPOBSERVER_H |