46
|
1 |
/*
|
|
2 |
* Copyright (c) 2001-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 the License "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 CWiFiProtEnterPinDlg.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/*
|
|
19 |
* %version: tr1cfwln#9 %
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef C_WIFIPROTENTERPINDLG_H
|
|
23 |
#define C_WIFIPROTENTERPINDLG_H
|
|
24 |
|
|
25 |
// INCLUDES
|
|
26 |
#include <AknQueryDialog.h>
|
|
27 |
|
|
28 |
// FORWARD DECLARATIONS
|
|
29 |
class MActiveRunnerCallback;
|
|
30 |
|
|
31 |
// CLASS DECLARATIONS
|
|
32 |
|
|
33 |
/**
|
|
34 |
* Class implements a query dialog.
|
|
35 |
*/
|
|
36 |
NONSHARABLE_CLASS( CWiFiProtEnterPinDlg ) : public CAknQueryDialog
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
/**
|
|
40 |
* Constructor of the CWiFiProtEnterPinDlg class
|
|
41 |
* @param MActiveRunnerCallback& aActiveRunnerCallback callback to
|
|
42 |
* notify the client of user response
|
|
43 |
* Active Runner gets completed when the dialog finishes
|
|
44 |
*/
|
|
45 |
CWiFiProtEnterPinDlg( MActiveRunnerCallback& aActiveRunnerCallback );
|
|
46 |
|
|
47 |
|
|
48 |
/**
|
|
49 |
* Destructor
|
|
50 |
*/
|
|
51 |
virtual ~CWiFiProtEnterPinDlg();
|
|
52 |
|
|
53 |
/**
|
|
54 |
* From @c MEikCommandObserver.
|
|
55 |
*
|
|
56 |
* Acts on the menu selection if menu is showing
|
|
57 |
* @param aCommandId id of the command to process
|
|
58 |
*
|
|
59 |
* Responds to @c EAknSoftkeyOk and @c EAknSoftkeyYes and
|
|
60 |
* @c EAknSoftkeyDone and @c EWiFiSoftkeyContinue
|
|
61 |
* @c EAknSoftkeyEmpty commands.
|
|
62 |
*
|
|
63 |
* @since S60 3.0
|
|
64 |
*/
|
|
65 |
void ProcessCommandL( TInt aCommandId );
|
|
66 |
|
|
67 |
/*
|
|
68 |
* Removes Cancel softkey
|
|
69 |
*/
|
|
70 |
void RemoveCancel();
|
|
71 |
|
|
72 |
private:
|
|
73 |
|
|
74 |
/**
|
|
75 |
* Exit function the CWiFiProtConfirmationNoteDlg
|
|
76 |
* @param aButtonId
|
|
77 |
* @return TBool exit or no
|
|
78 |
*/
|
|
79 |
virtual TBool OkToExitL( TInt aButtonId );
|
|
80 |
|
|
81 |
/**
|
|
82 |
* PreLayoutDynInitL
|
|
83 |
* @param -
|
|
84 |
*/
|
|
85 |
virtual void PreLayoutDynInitL();
|
|
86 |
private:
|
|
87 |
// Client's request status, dialog completes it when it finished
|
|
88 |
MActiveRunnerCallback& iActiveRunnerCallback;
|
|
89 |
};
|
|
90 |
|
|
91 |
|
|
92 |
#endif // C_WIFIPROTENTERPINDLG_H
|
|
93 |
|
|
94 |
// End of File
|