alarmui/inc/alarmsourcecontextdef.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 29 12af337248b1
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
    86     {
    86     {
    87     // command to stop an active alarm
    87     // command to stop an active alarm
    88     _S( "Stop" ),
    88     _S( "Stop" ),
    89 
    89 
    90     // command to snooze an active alarm
    90     // command to snooze an active alarm
    91     _S( "Snooze" )
    91     _S( "Snooze" ),
       
    92     
       
    93     // command to silence an active alarm
       
    94     _S( "Silence" )    
    92     };
    95     };
    93 
    96 
    94 // Enumerations for accessing values array
    97 // Enumerations for accessing values array
    95 enum TAlarmSourceCommandValues
    98 enum TAlarmSourceCommandValues
    96     {
    99     {
    97     ECommandAlarmStop,
   100     ECommandAlarmStop,
    98     ECommandAlarmSnooze
   101     ECommandAlarmSnooze,
       
   102     ECommandAlarmSilence
    99     };
   103     };
   100 
   104 
   101 //-----------------------------------------------------------------------------
   105 //-----------------------------------------------------------------------------
   102 // Capabilities
   106 // Capabilities
   103 _LIT_SECURITY_POLICY_PASS( KAlarmUISourceCommandSec );
   107 _LIT_SECURITY_POLICY_PASS( KAlarmUISourceCommandSec );
   155     _S( "AlarmUI.Snooze" ),
   159     _S( "AlarmUI.Snooze" ),
   156 
   160 
   157     // stop the active alarm
   161     // stop the active alarm
   158     _S( "AlarmUI.Stop" ),
   162     _S( "AlarmUI.Stop" ),
   159 
   163 
       
   164     // stop the active alarm
       
   165     _S( "AlarmUI.Silence" ),    
       
   166     
   160     // print a debug string
   167     // print a debug string
   161     _S( "AlarmUI.Debug" )
   168     _S( "AlarmUI.Debug" )
   162 
   169 
   163     };
   170     };
   164 
   171 
   165 // Enumerations for accessing values array
   172 // Enumerations for accessing values array
   166 enum TAlarmUIActionValues
   173 enum TAlarmUIActionValues
   167     {
   174     {
   168     EActionSnooze,
   175     EActionSnooze,
   169     EActionStop,
   176     EActionStop,
       
   177     EActionSilence,    
   170     EDebug
   178     EDebug
   171     };
   179     };
   172 
   180 
   173 //-----------------------------------------------------------------------------
   181 //-----------------------------------------------------------------------------
   174 // Capabilities
   182 // Capabilities