vpnui/vpndialogmanager/inc/vpndialogshower.h
branchRCL_3
changeset 49 5960d2d03390
parent 46 29c8f9bc68e1
equal deleted inserted replaced
46:29c8f9bc68e1 49:5960d2d03390
    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 KMinSecurIDPINLength = 4;
    33 const TInt KMaxAuthenticationInputLength = 32;
    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);
       
    61     CVpnMultiLineDialog* GetSecurIdNextDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput);
    60     CVpnMultiLineDialog* GetSecurIdNextDlgL(MVpnNotifierCallback* aNotifier, const TDesC8& aInput);
    62     
    61     
    63 private: 
    62 private: 
    64     void DialogDismissedL(TInt /* aButtonId */) 
    63     void DialogDismissedL(TInt /* aButtonId */) 
    65         {
    64         {
   186     {
   185     {
   187 public:
   186 public:
   188     // NewL
   187     // NewL
   189     static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, TTone aTone = ENoTone);
   188     static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, TTone aTone = ENoTone);
   190     static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, const TDesC8& aInput, TTone aTone = ENoTone);
   189     static CKmdDlg* NewL(MVpnNotifierCallback* aNotifier, TDes& aText1, TDes& aText2, const TDesC8& aInput, TTone aTone = ENoTone);
   191     void SetResourceId(TInt aResourceId);
       
   192 protected:  
   190 protected:  
   193     //Construction and destruction
   191     //Construction and destruction
   194     CKmdDlg(MVpnNotifierCallback* aNotifier, const TTone& aTone);
   192     CKmdDlg(MVpnNotifierCallback* aNotifier, const TTone& aTone);
   195     CKmdDlg(MVpnNotifierCallback* aNotifier, const TDesC8& aInput, const TTone& aTone);
   193     CKmdDlg(MVpnNotifierCallback* aNotifier, const TDesC8& aInput, const TTone& aTone);
   196 private:
   194 private:
   197 
   195 
   198     void PreLayoutDynInitL();
   196     void PreLayoutDynInitL();
   199     void SetInitialCurrentLine();
   197     void SetInitialCurrentLine();
   200     void UpdateLeftSoftKeyL();
       
   201     // From CVpnMultiLineDialog
   198     // From CVpnMultiLineDialog
   202     void GetOutputL(TVpnDialogOutput& aOutput, TInt aButtonId);
   199     void GetOutputL(TVpnDialogOutput& aOutput, TInt aButtonId);
   203 
   200 
   204 private: // Data
   201 private: // Data
   205     TPtrC8 iInput;
   202     TPtrC8 iInput;
   206     TInt iResourceId;
       
   207     };
   203     };
   208 
   204 
   209 
   205 
   210 #endif  // VPNDIALOGSHOWER_H
   206 #endif  // VPNDIALOGSHOWER_H