org.symbian.tools.wrttools/templates/default-templates.xml
changeset 390 41fb932132ea
parent 373 85c2a2a29aad
equal deleted inserted replaced
389:5a72e60dea8b 390:41fb932132ea
    64 	<template name="sensor" description="Access WRT 1.1 sensors API. This API allows widgets to access data provided by the physical sensors of the device."
    64 	<template name="sensor" description="Access WRT 1.1 sensors API. This API allows widgets to access data provided by the physical sensors of the device."
    65 		id="org.symbian.tools.wrttools.templates.sensor" context="javaScript"
    65 		id="org.symbian.tools.wrttools.templates.sensor" context="javaScript"
    66 		enabled="true" autoinsert="false">
    66 		enabled="true" autoinsert="false">
    67 		var ${sensors} = device.getServiceObject("Service.Sensor", "ISensor");
    67 		var ${sensors} = device.getServiceObject("Service.Sensor", "ISensor");
    68 	</template>
    68 	</template>
       
    69 	<template name="sensor" description="Access WRT 1.1 system information API. This API allows widgets to access system data like battery, connectivity, device, display, features, general, memory, network"
       
    70 		id="org.symbian.tools.wrttools.templates.sysinfo" context="javaScript"
       
    71 		enabled="true" autoinsert="false">
       
    72 		var ${sysInfo} = device.getServiceObject("Service.SysInfo", "ISysInfo");
       
    73 	</template>
    69 
    74 
    70 </templates>
    75 </templates>