org.symbian.tools.wrttools/templates/default-templates.xml
changeset 373 85c2a2a29aad
parent 372 1e408ee32d8a
child 390 41fb932132ea
equal deleted inserted replaced
372:1e408ee32d8a 373:85c2a2a29aad
    45 		id="org.symbian.tools.wrttools.templates.location" context="javaScript"
    45 		id="org.symbian.tools.wrttools.templates.location" context="javaScript"
    46 		enabled="true" autoinsert="false">
    46 		enabled="true" autoinsert="false">
    47 		var ${locationService} = device.getServiceObject("Service.Location", "ILocation");
    47 		var ${locationService} = device.getServiceObject("Service.Location", "ILocation");
    48 	</template>
    48 	</template>
    49 	<template name="logging" description="Access WRT 1.1 logging service. This API allows widgets to access and manage logging events such as call logs, messaging logs, and data logs."
    49 	<template name="logging" description="Access WRT 1.1 logging service. This API allows widgets to access and manage logging events such as call logs, messaging logs, and data logs."
    50 		id="org.symbian.tools.wrttools.templates.calendar" context="javaScript"
    50 		id="org.symbian.tools.wrttools.templates.logging" context="javaScript"
    51 		enabled="true" autoinsert="false">
    51 		enabled="true" autoinsert="false">
    52 		var ${loggingService} = device.getServiceObject("Service.Logging", "IDataSource");
    52 		var ${loggingService} = device.getServiceObject("Service.Logging", "IDataSource");
    53 	</template>
    53 	</template>
    54 	<template name="media" description="Access WRT 1.1 media management service. This API allows widgets to retrieve information about the media files stored in the device's public folders."
    54 	<template name="media" description="Access WRT 1.1 media management service. This API allows widgets to retrieve information about the media files stored in the device's public folders."
    55 		id="org.symbian.tools.wrttools.templates.media" context="javaScript"
    55 		id="org.symbian.tools.wrttools.templates.media" context="javaScript"
    60 		id="org.symbian.tools.wrttools.templates.messaging" context="javaScript"
    60 		id="org.symbian.tools.wrttools.templates.messaging" context="javaScript"
    61 		enabled="true" autoinsert="false">
    61 		enabled="true" autoinsert="false">
    62 		var ${messaging} = device.getServiceObject("Service.Messaging", "IMessaging");
    62 		var ${messaging} = device.getServiceObject("Service.Messaging", "IMessaging");
    63 	</template>
    63 	</template>
    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.calendar" 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 
    69 
    70 </templates>
    70 </templates>