org.symbian.tools.wrttools/templates/default-templates.xml
changeset 390 41fb932132ea
parent 373 85c2a2a29aad
--- a/org.symbian.tools.wrttools/templates/default-templates.xml	Thu Jun 17 17:36:55 2010 -0700
+++ b/org.symbian.tools.wrttools/templates/default-templates.xml	Mon Jun 21 11:50:47 2010 -0700
@@ -66,5 +66,10 @@
 		enabled="true" autoinsert="false">
 		var ${sensors} = device.getServiceObject("Service.Sensor", "ISensor");
 	</template>
+	<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"
+		id="org.symbian.tools.wrttools.templates.sysinfo" context="javaScript"
+		enabled="true" autoinsert="false">
+		var ${sysInfo} = device.getServiceObject("Service.SysInfo", "ISysInfo");
+	</template>
 
 </templates>