|
1 /* |
|
2 * Copyright (c) 2002 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 class CApMultiLineDataQueryDialog. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef AP_MULTILINE_IP_QUERY_DIALOG_H |
|
20 #define AP_MULTILINE_IP_QUERY_DIALOG_H |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <AknQueryDialog.h> |
|
24 |
|
25 |
|
26 // FORWARD DECLARATION |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * A new class to extend the functionality of the existing |
|
33 * CAKnMultiLineIpQueryDialog to be able to accept 0 length settings... |
|
34 * Nothing else is changed. |
|
35 */ |
|
36 NONSHARABLE_CLASS( CApMultiLineDataQueryDialog ) : |
|
37 public CAknMultiLineDataQueryDialog |
|
38 { |
|
39 public: |
|
40 public: |
|
41 /** |
|
42 * Multiline data query dialog, 2 lines |
|
43 * @param aText1 Text1 |
|
44 * @param aText2 Text2 |
|
45 * @param aTone Tone |
|
46 * @return A constructed CApMultiLineDataQueryDialog |
|
47 */ |
|
48 static CApMultiLineDataQueryDialog* NewL( |
|
49 TDes& aText1, TDes& aText2, |
|
50 TTone aTone = ENoTone); |
|
51 |
|
52 |
|
53 protected: |
|
54 /** |
|
55 * If the query text is ok (retrieved form query controls) then |
|
56 * display the left soft key, otherwise hide it. |
|
57 */ |
|
58 void UpdateLeftSoftKeyL(); |
|
59 |
|
60 private: |
|
61 /** |
|
62 * Constructor |
|
63 * @param aTone Tone |
|
64 */ |
|
65 CApMultiLineDataQueryDialog( const TTone& aTone ); |
|
66 |
|
67 }; |
|
68 |
|
69 |
|
70 #endif |
|
71 |
|
72 // End of file |