securitydialogs/Autolock/PubSub/SecurityUIsPrivatePSKeys.h
branchRCL_3
changeset 21 09b1ac925e3f
parent 0 164170e6151a
child 22 03674e5abf46
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Private Publish&Subscribe definitions of the
    14 * Description:  Private Publish&Subscribe definitions of the
    15 *               Security UIs subsystem
    15  *                Security UIs subsystem
    16 *
    16  *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef SECURITYUISPRIVATEPSKEYS_H
    20 #ifndef SECURITYUISPRIVATEPSKEYS_H
    21 #define SECURITYUISPRIVATEPSKEYS_H
    21 #define SECURITYUISPRIVATEPSKEYS_H
    30 // =============================================================================
    30 // =============================================================================
    31 
    31 
    32 // Use TUid KPSUidSecurityUIs = { 0x100059b5 } 
    32 // Use TUid KPSUidSecurityUIs = { 0x100059b5 } 
    33 
    33 
    34 /**
    34 /**
    35 * Used by SecUI to differentiate between ETel API originated and SecUI originated
    35  * Used by SecUI to differentiate between ETel API originated and SecUI originated
    36 * security queries.
    36  * security queries.
    37 * Old Shared Data constant name: KSecUIOriginatedQuery
    37  * Old Shared Data constant name: KSecUIOriginatedQuery
    38 */
    38  */
    39 const TUint32 KSecurityUIsSecUIOriginatedQuery = 0x00000301;
    39 const TUint32 KSecurityUIsSecUIOriginatedQuery = 0x00000301;
    40 enum TSecurityUIsSecUIOriginatedQuery
    40 enum TSecurityUIsSecUIOriginatedQuery
    41     {
    41     {
    42     ESecurityUIsSecUIOriginatedUninitialized = 0,
    42     ESecurityUIsSecUIOriginatedUninitialized = 0,
    43     ESecurityUIsETelAPIOriginated,
    43     ESecurityUIsETelAPIOriginated,
    44     ESecurityUIsSecUIOriginated,
    44     ESecurityUIsSecUIOriginated,
    45     ESecurityUIsSystemLockOriginated
    45     ESecurityUIsSystemLockOriginated,
       
    46     ESecurityUIsFpsOriginated
    46     };
    47     };
    47 
    48 
    48 /**
    49 /**
    49 * Used by SecUI to tell if a query request set by some ETELMM API lock setting function (i.e. SetXXXXSetting)
    50  * Used by SecUI to tell if a query request set by some ETELMM API lock setting function (i.e. SetXXXXSetting)
    50 * has been canceled sinnce canceling the setting request does not prompt a query cancel event from ETEL.
    51  * has been canceled since canceling the setting request does not prompt a query cancel event from ETEL.
    51 * Old Shared Data constant name: KSecUIOriginatedQuery
    52  * Old Shared Data constant name: KSecUIOriginatedQuery
    52 */    
    53  */    
    53 const TUint32 KSecurityUIsQueryRequestCancel = 0x00000302;
    54 const TUint32 KSecurityUIsQueryRequestCancel = 0x00000302;
    54 enum TSecurityUIsQueryRequestCancel
    55 enum TSecurityUIsQueryRequestCancel
    55     {
    56     {
    56     ESecurityUIsQueryRequestUninitialized = 0,
    57     ESecurityUIsQueryRequestUninitialized = 0,
    57     ESecurityUIsQueryRequestOk,
    58     ESecurityUIsQueryRequestOk,
    58     ESecurityUIsQueryRequestCanceled
    59     ESecurityUIsQueryRequestCanceled
    59     };
    60     };
    60 
    61 
    61 #endif      // SECURITYUISPRIVATEPSKEYS_H
    62 /**
       
    63  * Used by Autolock to tell which application has enabled/disabled the keyguard/devicelock , and at which moment.
       
    64  */    
       
    65 const TUint32 KSecurityUIsLockInitiatorUID  = 0x00000303;
       
    66 const TUint32 KSecurityUIsLockInitiatorTimeHigh = 0x00000304;
       
    67 const TUint32 KSecurityUIsLockInitiatorTimeLow  = 0x00000305;
       
    68 
       
    69 /**
       
    70  * Used by Autolock to tell the status of screensaver 
       
    71  */    
       
    72 const TUint32 KSecurityUIsScreenSaverStatus  = 0x00000306;
       
    73 enum TSecurityUIsScreenSaverValues
       
    74     {
       
    75     ESecurityUIsScreenSaverUninitialized = 0,
       
    76     ESecurityUIsScreenSaverOn,
       
    77     ESecurityUIsScreenSaverOff,
       
    78     ESecurityUIsScreenSaverOffWhileUnguardQuery,
       
    79     ESecurityUIsScreenSaverOffWhileUnlockQuery,
       
    80     ESecurityUIsScreenSaverLastValue
       
    81     };
       
    82 
       
    83 /**
       
    84  * Used by any applicattion, to send a Code for Secui
       
    85  */    
       
    86 const TUint32 KSecurityUIsTestCode  = 0x00000307;
       
    87 
       
    88 /**
       
    89  * Used to tell SysAp to switch-on the lights.
       
    90  */    
       
    91 const TUint32 KSecurityUIsLights  = 0x00000308;
       
    92 enum TSecurityUIsLights
       
    93     {
       
    94     ESecurityUIsLightsUninitialized = 0,
       
    95     ESecurityUIsLightsLockOnRequest,
       
    96     ESecurityUIsLightsQueryOnRequest,
       
    97     ESecurityUIsLightsLockOffRequest,
       
    98     ESecurityUIsLightsLastValue
       
    99     };
       
   100 
       
   101 /**
       
   102  * Used by Autolock to tell the dialog to dismiss. In fact, any app can do this.
       
   103  */    
       
   104 const TUint32 KSecurityUIsDismissDialog  = 0x00000309;
       
   105 enum TSecurityUIsDismissDialogValues
       
   106     {
       
   107     ESecurityUIsDismissDialogUninitialized = 0,
       
   108     ESecurityUIsDismissDialogOn,
       
   109     ESecurityUIsDismissDialogProcessing,
       
   110     ESecurityUIsDismissDialogDone,
       
   111     ESecurityUIsDismissDialogLastValue
       
   112     };
       
   113 
       
   114 #endif // SECURITYUISPRIVATEPSKEYS_H
    62 
   115 
    63 // End of File
   116 // End of File
    64