|
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: |
|
15 * Implements the feature for investigating length of the input. Softkeys |
|
16 * are set based on this information. |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef CSATUIWAITDIALOG_H |
|
23 #define CSATUIWAITDIALOG_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <AknWaitDialog.h> |
|
27 |
|
28 // FORWARD DECLARATION |
|
29 class MSatUiAdapter; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Defines the SAT spesific data query class. |
|
35 */ |
|
36 class CSatUiWaitDialog : public CAknWaitDialog |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * C++ default constructor. |
|
42 */ |
|
43 CSatUiWaitDialog( |
|
44 CEikDialog** aSelfPtr, |
|
45 MSatUiAdapter& aAdapter, |
|
46 TBool aVisibilityDelayOff ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CSatUiWaitDialog(); |
|
52 |
|
53 public: // Override functions from base classes |
|
54 |
|
55 /** |
|
56 * From @c CEikDialog. |
|
57 * Handles a dialog button press for the specified button. |
|
58 * @param aButtonId The ID of the button that was activated |
|
59 * @return ETrue to validate and exit the dialog |
|
60 */ |
|
61 TBool CSatUiWaitDialog::OkToExitL( TInt aButtonId ); |
|
62 |
|
63 private: // Data |
|
64 |
|
65 // Reference to adapter. Used to inform SAT Client if user |
|
66 // presses Cancel during dialog is showing |
|
67 MSatUiAdapter& iAdapter; |
|
68 }; |
|
69 |
|
70 #endif // CSATUIWAITDIALOG_H |
|
71 |
|
72 // End of File |