28 |
28 |
29 #include "vpnnotifierdefs.h" |
29 #include "vpnnotifierdefs.h" |
30 |
30 |
31 |
31 |
32 const TInt KMaxAcuInputLength = 50; |
32 const TInt KMaxAcuInputLength = 50; |
33 const TInt KMaxAuthenticationInputLength = 32; |
33 const TInt KMinSecurIDPINLength = 4; |
34 |
34 |
35 class CVpnDialog; |
35 class CVpnDialog; |
36 class CEikColumnListBox; |
36 class CEikColumnListBox; |
37 class MVpnNotifierCallback; |
37 class MVpnNotifierCallback; |
38 class CVpnMultiLineDialog; |
38 class CVpnMultiLineDialog; |
55 CVpnDialog* GetPKCS12PasswordDlgL(MVpnNotifierCallback* aNotifier); |
55 CVpnDialog* GetPKCS12PasswordDlgL(MVpnNotifierCallback* aNotifier); |
56 CVpnDialog* GetDevLockConfirmationDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
56 CVpnDialog* GetDevLockConfirmationDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
57 CVpnInfoDialog* ShowNoteDialogL(MVpnNotifierCallback* aNotifier, TInt aTextId); |
57 CVpnInfoDialog* ShowNoteDialogL(MVpnNotifierCallback* aNotifier, TInt aTextId); |
58 CVpnMultiLineDialog* GetUserPwdDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
58 CVpnMultiLineDialog* GetUserPwdDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
59 CVpnMultiLineDialog* GetSecurIdDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
59 CVpnMultiLineDialog* GetSecurIdDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
|
60 CVpnMultiLineDialog* GetSecurIdPinDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
60 CVpnMultiLineDialog* GetSecurIdNextDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
61 CVpnMultiLineDialog* GetSecurIdNextDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput); |
61 |
62 |
62 private: |
63 private: |
63 void DialogDismissedL(TInt /* aButtonId */) |
64 void DialogDismissedL(TInt /* aButtonId */) |
64 { |
65 { |
185 { |
186 { |
186 public: |
187 public: |
187 // NewL |
188 // NewL |
188 static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, TTone aTone = ENoTone); |
189 static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, TTone aTone = ENoTone); |
189 static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, const TDesC8& aInput, TTone aTone = ENoTone); |
190 static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, const TDesC8& aInput, TTone aTone = ENoTone); |
|
191 void SetResourceId(TInt aResourceId); |
190 protected: |
192 protected: |
191 //Construction and destruction |
193 //Construction and destruction |
192 CKmdDlg(MVpnNotifierCallback* aNotifier, const TTone& aTone); |
194 CKmdDlg(MVpnNotifierCallback* aNotifier, const TTone& aTone); |
193 CKmdDlg(MVpnNotifierCallback* aNotifier, const TDesC8& aInput, const TTone& aTone); |
195 CKmdDlg(MVpnNotifierCallback* aNotifier, const TDesC8& aInput, const TTone& aTone); |
194 private: |
196 private: |
195 |
197 |
196 void PreLayoutDynInitL(); |
198 void PreLayoutDynInitL(); |
197 void SetInitialCurrentLine(); |
199 void SetInitialCurrentLine(); |
|
200 void UpdateLeftSoftKeyL(); |
198 // From CVpnMultiLineDialog |
201 // From CVpnMultiLineDialog |
199 void GetOutputL(TVpnDialogOutput& aOutput, TInt aButtonId); |
202 void GetOutputL(TVpnDialogOutput& aOutput, TInt aButtonId); |
200 |
203 |
201 private: // Data |
204 private: // Data |
202 TPtrC8 iInput; |
205 TPtrC8 iInput; |
|
206 TInt iResourceId; |
203 }; |
207 }; |
204 |
208 |
205 |
209 |
206 #endif // VPNDIALOGSHOWER_H |
210 #endif // VPNDIALOGSHOWER_H |