|
1 /* |
|
2 * Copyright (c) 2006 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: Declaration of CActiveConnectViaNote |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __ACTIVE_CONNECT_VIA_NOTE_H__ |
|
20 #define __ACTIVE_CONNECT_VIA_NOTE_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include "ConnectionUiUtilitiesCommon.h" |
|
24 #include <e32base.h> |
|
25 #include <cmmanager.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CConnectViaNoteNotif; |
|
29 class CGulIcon; |
|
30 class CEikImage; |
|
31 |
|
32 |
|
33 /** |
|
34 * CActiveConnectViaNote class, |
|
35 * an active object for COfflineWlanDisabledNoteNotif |
|
36 */ |
|
37 NONSHARABLE_CLASS( CActiveConnectViaNote ) : public CActive |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Constructor |
|
42 */ |
|
43 CActiveConnectViaNote( CConnectViaNoteNotif* aNotif, |
|
44 const TConnUiUiDestConnMethodNoteId aData ); |
|
45 |
|
46 /** |
|
47 * Launch ConnectViaNote setactive and starts active object |
|
48 */ |
|
49 void LaunchActiveConnectViaNote(); |
|
50 |
|
51 /** |
|
52 * Destructor |
|
53 */ |
|
54 virtual ~CActiveConnectViaNote(); |
|
55 |
|
56 protected: |
|
57 /** |
|
58 * DoCancel from CActive |
|
59 */ |
|
60 virtual void DoCancel(); |
|
61 |
|
62 /** |
|
63 * RunL from CActive |
|
64 */ |
|
65 virtual void RunL(); |
|
66 |
|
67 /** |
|
68 * GetDialogTextL() |
|
69 * @return |
|
70 */ |
|
71 HBufC* GetDialogTextL(); |
|
72 |
|
73 /** |
|
74 * GetDestinationNameLC() |
|
75 * @param aDestId |
|
76 * @return |
|
77 */ |
|
78 HBufC* GetDestinationNameLC( const TUint32 aDestId ); |
|
79 |
|
80 /** |
|
81 * GetConnectionMethodNameLC |
|
82 * @param aConnMId |
|
83 * @return |
|
84 */ |
|
85 HBufC* GetConnectionMethodNameLC( const TUint32 aConnMId ); |
|
86 |
|
87 /** |
|
88 * CreateEikImageFromCGulIconLC |
|
89 * @return CEikImage* |
|
90 */ |
|
91 CEikImage* CreateEikImageFromCGulIconLC(); |
|
92 |
|
93 protected: |
|
94 TRequestStatus* iClientStatus; ///< used for complete runl, not owned |
|
95 CConnectViaNoteNotif* iNotif; ///< poiter to notifer, not owned |
|
96 CGulIcon* iIcon; |
|
97 |
|
98 TConnUiUiDestConnMethodNoteId iData; |
|
99 RCmManager iCmManager; |
|
100 }; |
|
101 |
|
102 #endif // __ACTIVE_CONNECT_VIA_NOTE_H__ |
|
103 |
|
104 // End of File |