|
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: Declaration of CNoWlansDiscreetPopup |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CNOWLANSDISCREETPOPUP_H |
|
19 #define CNOWLANSDISCREETPOPUP_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> // For CActive, link against: euser.lib |
|
23 |
|
24 #include "ConnectionDialogsNotifBase.h" |
|
25 |
|
26 /** |
|
27 * CConnectingViaDiscreetPopup class |
|
28 */ |
|
29 NONSHARABLE_CLASS( CNoWlansDiscreetPopup ) : public CActive |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Destructor |
|
34 * Cancel and destroy |
|
35 */ |
|
36 virtual ~CNoWlansDiscreetPopup(); |
|
37 |
|
38 /** |
|
39 * NewL function |
|
40 * Two-phased constructor. |
|
41 * @param aNotif a pointer to notifier plugin |
|
42 */ |
|
43 static CNoWlansDiscreetPopup* NewL( |
|
44 CConnectionDialogsNotifBase* aNotif ); |
|
45 |
|
46 /** |
|
47 * NewL function |
|
48 * Two-phased constructor. |
|
49 * @param aNotif a pointer to notifier plugin |
|
50 */ |
|
51 static CNoWlansDiscreetPopup* NewLC( |
|
52 CConnectionDialogsNotifBase* aNotif ); |
|
53 |
|
54 public: |
|
55 /** |
|
56 * StartL Function for making the initial request |
|
57 */ |
|
58 void StartL(); |
|
59 |
|
60 private: |
|
61 /** |
|
62 * C++ constructor |
|
63 */ |
|
64 CNoWlansDiscreetPopup( CConnectionDialogsNotifBase* aNotif ); |
|
65 |
|
66 /** |
|
67 * Second-phase constructor |
|
68 */ |
|
69 void ConstructL(); |
|
70 |
|
71 private: |
|
72 /** |
|
73 * From CActive |
|
74 */ |
|
75 void RunL(); |
|
76 |
|
77 /** |
|
78 * From CActive |
|
79 */ |
|
80 void DoCancel(); |
|
81 |
|
82 /** |
|
83 * From CActive |
|
84 */ |
|
85 TInt RunError( TInt aError ); |
|
86 |
|
87 private: |
|
88 // Used for complete runl, not owned |
|
89 TRequestStatus* iClientStatus; |
|
90 |
|
91 // Pointer to notifer, not owned |
|
92 CConnectionDialogsNotifBase* iNotif; |
|
93 }; |
|
94 |
|
95 #endif // CNOWLANSDISCREETPOPUP_H |