tacticonserver/tacticonactionplugin/data/tacticon.rul
changeset 0 d54f32e146dd
child 30 fb04b611ffe7
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 <script xmlns="http://www.nokia.com/ns/cep/script/1.0/"
       
     2 xmlns:cep="http://www.nokia.com/ns/cep/1.0/">
       
     3     <if>
       
     4         <equals>
       
     5             <contextRef source='Sensor' type='Event.Proximity'/>
       
     6             <string>Discernible</string>
       
     7         </equals>
       
     8         <actions>
       
     9             <!-- Proximity notify  -->
       
    10             <Tacticon Mode='PROXIMITY_ON'/>	
       
    11         </actions>
       
    12     </if>
       
    13     <elseIf>
       
    14         <equals>
       
    15             <contextRef source='Sensor' type='Event.Proximity'/>
       
    16             <string>Indiscernible</string>
       
    17         </equals>
       
    18         <actions>
       
    19             <!-- Proximity notify  -->
       
    20             <Tacticon Mode='PROXIMITY_OFF'/>	
       
    21         </actions>
       
    22     </elseIf>
       
    23     <elseIf>
       
    24         <equals>
       
    25             <contextRef source='Call' type='State'/>
       
    26             <string>Dialling</string>
       
    27         </equals>
       
    28         <actions>
       
    29             <!-- Disable Tacticons -->
       
    30             <Tacticon Mode='CALL_DIALLING'/>	
       
    31         </actions>
       
    32     </elseIf>
       
    33     <elseIf>
       
    34         <equals>
       
    35             <contextRef source='Call' type='State'/>
       
    36             <string>Connected</string>
       
    37         </equals>
       
    38         <actions>
       
    39             <!-- Disable Tacticons -->
       
    40             <Tacticon Mode='CALL_CONNECTED'/>	
       
    41         </actions>
       
    42     </elseIf>
       
    43     <elseIf>
       
    44         <or>
       
    45             <equals>
       
    46                 <contextRef source='Call' type='State'/>
       
    47                 <string>None</string>
       
    48             </equals>
       
    49             <equals>
       
    50                 <contextRef source='Call' type='State'/>
       
    51                 <string>Disconnecting</string>
       
    52             </equals>
       
    53         </or>
       
    54         <actions>
       
    55             <!-- Enable Tacticons -->
       
    56             <Tacticon Mode='CALL_DISCONNECTED'/>	
       
    57         </actions>
       
    58     </elseIf>
       
    59 </script>