|
1 /* |
|
2 * Copyright (c) 2008 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: Control step driver. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CCNUIROAMINGCNTRLSTEP_H |
|
19 #define __CCNUIROAMINGCNTRLSTEP_H |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <E32Base.h> |
|
24 #include <barsc.h> |
|
25 |
|
26 #include "MCnUiCntrlStep.h" |
|
27 |
|
28 // CLASS DECLARATION |
|
29 NONSHARABLE_CLASS( CCnUiRoamingCntrlStep ) : public CBase, |
|
30 public MCnUiCntrlStep |
|
31 { |
|
32 public: // Two-phased constructors and destructor |
|
33 |
|
34 /** |
|
35 * Two-phased constructor. |
|
36 */ |
|
37 static CCnUiRoamingCntrlStep* NewLC(); |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 virtual ~CCnUiRoamingCntrlStep(); |
|
43 |
|
44 |
|
45 protected: //protected to allow derivation |
|
46 |
|
47 /** |
|
48 * C++ constructor. |
|
49 * |
|
50 */ |
|
51 CCnUiRoamingCntrlStep(); |
|
52 |
|
53 public: // New functions from MCnUiCntrlStep |
|
54 |
|
55 |
|
56 /** |
|
57 * Runs connection open / login step. |
|
58 * |
|
59 * @return Error code from login. |
|
60 */ |
|
61 TInt RunStepL(); |
|
62 |
|
63 |
|
64 /** |
|
65 * Handles complete. |
|
66 * |
|
67 * @return Always ECnUiStepContinueTeardown. |
|
68 */ |
|
69 TCnUiHandleCompleteStatus HandleCompleteL(); |
|
70 |
|
71 |
|
72 /** |
|
73 * Handles undo. |
|
74 * |
|
75 */ |
|
76 void UndoStepL(); |
|
77 |
|
78 |
|
79 private: // New functions |
|
80 /** |
|
81 * Shows warning dialog |
|
82 * @return Error code. |
|
83 */ |
|
84 TInt ShowRoamingDlgL(); |
|
85 }; |
|
86 |
|
87 #endif // __CCNUIROAMINGCNTRLSTEP_H |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 |