|
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: default sim-dialog plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef _DEFAULT_SIM_DIALOG_H_ |
|
19 #define _DEFAULT_SIM_DIALOG_H_ |
|
20 |
|
21 // INCLUDE FILES |
|
22 |
|
23 // SYSTEM INCLUDES |
|
24 |
|
25 // USER INCLUDES |
|
26 #include "simdlgplugin.h" |
|
27 |
|
28 |
|
29 // FORWARD DECLARATION |
|
30 class CSmsMtmUi; |
|
31 class CMsvSession; |
|
32 |
|
33 /** |
|
34 * CDefaultSimDlg |
|
35 * default sim dialog implementation |
|
36 */ |
|
37 class CDefaultSimDlg : public CSimDlgPlugin |
|
38 { |
|
39 public: |
|
40 |
|
41 /** |
|
42 * Two phase construction |
|
43 * @param aParams TSimDlgParams |
|
44 */ |
|
45 static CDefaultSimDlg* NewL( TSimDlgParams* aParams); |
|
46 |
|
47 /** |
|
48 * Two phase construction |
|
49 * @param aParams TSimDlgParams |
|
50 */ |
|
51 static CDefaultSimDlg* NewLC( TSimDlgParams* aParams); |
|
52 |
|
53 /** |
|
54 * Destructor |
|
55 */ |
|
56 virtual ~CDefaultSimDlg(); |
|
57 |
|
58 |
|
59 public: // From base class CSimDlgPlugin |
|
60 /** |
|
61 * LaunchL |
|
62 * Launch the sim dialog |
|
63 */ |
|
64 void LaunchL(); |
|
65 |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * Constructor |
|
71 */ |
|
72 CDefaultSimDlg( TSimDlgParams* aParams); |
|
73 |
|
74 /** |
|
75 * 2nd phase construtor |
|
76 */ |
|
77 void ConstructL(); |
|
78 |
|
79 private: //Data |
|
80 |
|
81 CSmsMtmUi& iSmsMtmUi; |
|
82 CMsvSession& iSession; |
|
83 }; |
|
84 |
|
85 #endif // _DEFAULT_SIM_DIALOG_H_ |