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