|
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: Implementation of class CQosDialog. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __QOSDIALOG_H__ |
|
20 #define __QOSDIALOG_H__ |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <AknQueryDialog.h> |
|
26 #include "ExpiryTimerCallback.h" |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CConnDlgQosPlugin; |
|
30 class CExpiryTimer; |
|
31 |
|
32 // CLASS DECLARATIONS |
|
33 |
|
34 /** |
|
35 * Class implementing Quality of services dialog. |
|
36 */ |
|
37 NONSHARABLE_CLASS( CQosDialog ) : public CAknQueryDialog, public MExpiryTimerCallback |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Constructor the CQosDialog class |
|
42 * @param aPlugin plugin pointer |
|
43 * @param aBool reconnect to the Qos |
|
44 * @return - |
|
45 */ |
|
46 CQosDialog( CConnDlgQosPlugin* aPlugin, TBool& aBool ); |
|
47 |
|
48 /** |
|
49 * Exit function the CQosDialog |
|
50 * @param aButtonId plugin pointer |
|
51 * @param aBool reconnect to the IAP |
|
52 * @return TBool exit or no |
|
53 */ |
|
54 virtual TBool OkToExitL( TInt aButtonId ); |
|
55 |
|
56 /** |
|
57 * Dialog expiration timeout callback |
|
58 */ |
|
59 void HandleTimedOut(); |
|
60 |
|
61 /** |
|
62 * Destructor |
|
63 */ |
|
64 virtual ~CQosDialog(); |
|
65 |
|
66 |
|
67 private: |
|
68 /** |
|
69 * PreLayoutDynInitL |
|
70 * @param - |
|
71 */ |
|
72 virtual void PreLayoutDynInitL(); |
|
73 |
|
74 |
|
75 private: |
|
76 // Pointer to the plugin |
|
77 CConnDlgQosPlugin* iPlugin; |
|
78 |
|
79 // Specifies way of closing of the dialog. ETrue when 'Yes' or 'Done' |
|
80 // softkeys pressed. |
|
81 TBool& iBool; |
|
82 |
|
83 // Pointer for dialog expiration timer |
|
84 CExpiryTimer* iExpiryTimer; |
|
85 |
|
86 }; |
|
87 |
|
88 #endif // __QOSDIALOG_H__ |
|
89 |
|
90 |
|
91 // End of File |