securitydialogs/SecUi/Inc/SecQueryUi.h
changeset 37 7bad16cccaca
parent 26 aad866c37519
equal deleted inserted replaced
26:aad866c37519 37:7bad16cccaca
    23 #include <hb/hbcore/hbdevicedialogsymbian.h>    // MHbDeviceDialogObserver
    23 #include <hb/hbcore/hbdevicedialogsymbian.h>    // MHbDeviceDialogObserver
    24 #include <etelmm.h>
    24 #include <etelmm.h>
    25 #include <e32property.h>
    25 #include <e32property.h>
    26 
    26 
    27 #define ESecUiTypeMask  0x0FFFFFF
    27 #define ESecUiTypeMask  0x0FFFFFF
       
    28 #define ESecUiBasicTypeMask    0x00F0000
    28 
    29 
    29 #define ESecUiCancelSupported  0x1000000
    30 #define ESecUiCancelSupported  0x1000000
    30 #define ESecUiCancelNotSupported  0x0000000
    31 #define ESecUiCancelNotSupported  0x0000000
    31 
    32 
    32 #define ESecUiEmergencySupported  0x2000000
    33 #define ESecUiEmergencySupported  0x2000000
    35 #define ESecUiAlphaSupported  0x4000000
    36 #define ESecUiAlphaSupported  0x4000000
    36 #define ESecUiAlphaNotSupported  0x0000000
    37 #define ESecUiAlphaNotSupported  0x0000000
    37 
    38 
    38 #define ESecUiSecretSupported  0x8000000
    39 #define ESecUiSecretSupported  0x8000000
    39 #define ESecUiSecretNotSupported  0x0000000
    40 #define ESecUiSecretNotSupported  0x0000000
       
    41 
       
    42 #define ESecUiBasicTypeCheck   0x0010000
       
    43 #define ESecUiBasicTypeMultiCheck   0x0020000
    40 
    44 
    41 class MSecQueryUiCertificateDetailsProvider;
    45 class MSecQueryUiCertificateDetailsProvider;
    42 class MSecQueryUiDrmDetailsProvider;
    46 class MSecQueryUiDrmDetailsProvider;
    43 class CHbDeviceDialogSymbian;
    47 class CHbDeviceDialogSymbian;
    44 class CHbSymbianVariantMap;
    48 class CHbSymbianVariantMap;
    79  * SW install device dialog plugin implements the UI dialogs.
    83  * SW install device dialog plugin implements the UI dialogs.
    80  *
    84  *
    81  * @lib SecQueryUi.lib
    85  * @lib SecQueryUi.lib
    82  * @since 10.1
    86  * @since 10.1
    83  */
    87  */
       
    88 typedef TBuf<80> TSecUiPassword;
       
    89 
    84 class CSecQueryUi : public CActive, public MHbDeviceDialogObserver
    90 class CSecQueryUi : public CActive, public MHbDeviceDialogObserver
    85     {
    91     {
    86     public:  // constructor and destructor
    92     public:  // constructor and destructor
    87         /**
    93         /**
    88          * Creates new CSecQueryUi object and pushes it into cleanup stack.
    94          * Creates new CSecQueryUi object and pushes it into cleanup stack.
   232         CActiveSchedulerWait* iWait;
   238         CActiveSchedulerWait* iWait;
   233         TBool iIsDisplayingDialog;
   239         TBool iIsDisplayingDialog;
   234         TInt iCompletionCode;
   240         TInt iCompletionCode;
   235         TInt iReturnValue;
   241         TInt iReturnValue;
   236 public:
   242 public:
   237 	      TSecUiPassword iPassword;
   243 	   // previoulsy it was RMobilePhone::TMobilePassword iPassword; but this was only 10 bytes
       
   244         TSecUiPassword iPassword;
   238     };
   245     };
   239 
   246 
   240 
   247 
   241 #endif  // C_SECQUERYUI_H
   248 #endif  // C_SECQUERYUI_H
   242 
   249