1 /* |
|
2 * Copyright (c) 2009-2010 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: Handler ui related. |
|
15 * Interface : Private, CVmbxUiHandler |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef VMBXENGINEQTUI_H |
|
20 #define VMBXENGINEQTUI_H |
|
21 |
|
22 |
|
23 #include <voicemailboxdefs.h> |
|
24 #include "mvmbxuihandler.h" |
|
25 |
|
26 // FORWARD DECLARATION |
|
27 class VmbxQtUiHandler; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * |
|
33 * @lib qvmbxengine.lib |
|
34 */ |
|
35 NONSHARABLE_CLASS( CVmbxUiHandler ):public CBase, |
|
36 public MVmbxUiHandler |
|
37 { |
|
38 |
|
39 public: // Constructors and destructor |
|
40 /** |
|
41 * Two-phased constructor |
|
42 */ |
|
43 static CVmbxUiHandler* NewL(); |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 ~CVmbxUiHandler(); |
|
49 |
|
50 //From MVmbxUiHandler |
|
51 |
|
52 /** |
|
53 * Show mailbox query dialog |
|
54 * Leaves if user cancel selected. |
|
55 * |
|
56 * @param aType in TVmbxType type |
|
57 * @param aNumber the voice mailbox number |
|
58 * @param aResult out the result of dialog |
|
59 */ |
|
60 virtual void ShowVmbxQueryDialogL( const TVmbxType& aType, |
|
61 TDes& aNumber, TInt& aResult ); |
|
62 |
|
63 /** |
|
64 * Show define number in selection dialog |
|
65 * |
|
66 * @param in aType vmbx type |
|
67 * @param out aResult the result of dialog |
|
68 */ |
|
69 virtual void ShowDefineSelectionDialogL( TVmbxType& aType, TInt& aResult ); |
|
70 |
|
71 /** |
|
72 * Show call number in selection dialog |
|
73 * Leave if aArray < 1 |
|
74 * |
|
75 * @param in aArray array of the defined voice mailbox entry |
|
76 * @param in aIcons icons of the defined voice mailbox |
|
77 * @param out aParams the type TVoiceMailboxParams which should include |
|
78 * the service id and the type of seclected TVmbxType |
|
79 * @param out aResult the result user seclected |
|
80 */ |
|
81 virtual void ShowCallSelectionDialogL( |
|
82 const RPointerArray<CVoiceMailboxEntry>& aArray, |
|
83 //CArrayPtr<CGulIcon>* aIcons, |
|
84 TVoiceMailboxParams& aParams, TInt& aResult ); |
|
85 |
|
86 /** |
|
87 * Show informationd note |
|
88 * |
|
89 * @param aType in TVmbxNoteType type |
|
90 */ |
|
91 virtual void ShowInformationdNoteL(const TVmbxNoteType aType); |
|
92 |
|
93 /** |
|
94 * show an error dialog for invalid number |
|
95 * |
|
96 */ |
|
97 virtual void ShowInvalidWarningNoteL(); |
|
98 |
|
99 private: |
|
100 |
|
101 /** C++ default constructor. |
|
102 * |
|
103 */ |
|
104 CVmbxUiHandler(); |
|
105 |
|
106 /** |
|
107 * C++ Two-phased constructor. |
|
108 */ |
|
109 void ConstructL(); |
|
110 |
|
111 private: // data |
|
112 |
|
113 /** |
|
114 * Dialog manage |
|
115 * Own |
|
116 */ |
|
117 VmbxQtUiHandler* iHandler; |
|
118 }; |
|
119 |
|
120 #endif // VMBXENGINEQTUI_H |
|