plugins/org.symbian.tools.wrttools/templates/default-templates.xml
changeset 470 d4809db37847
parent 390 41fb932132ea
equal deleted inserted replaced
469:4d198a32ac7d 470:d4809db37847
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 
       
     3 <!-- 
       
     4 /**
       
     5  * Copyright (c) 2009, 2010 Symbian Foundation and/or its subsidiary(-ies). 
       
     6  * All rights reserved. * This component and the accompanying materials are	made available
       
     7  * under the terms of the License "Eclipse Public License v1.0" 
       
     8  * which accompanies this distribution, and is available
       
     9  * at the URL "http://www.eclipse.org/legal/epl-v10.html". 
       
    10  *
       
    11  * Initial Contributors:
       
    12  * Symbian Foundation - initial contribution.
       
    13  * Contributors:
       
    14  * Description:
       
    15  * Overview:
       
    16  * Details:
       
    17  * Platforms/Drives/Compatibility: 
       
    18  * Assumptions/Requirement/Pre-requisites:
       
    19  * Failures and causes:
       
    20  */
       
    21 -->
       
    22 
       
    23 <templates>
       
    24 	<template name="appmanager" description="Access WRT 1.1 application manager. This API allows widgets to access and launch applications."
       
    25 		id="org.symbian.tools.wrttools.templates.appmanager" context="javaScript"
       
    26 		enabled="true" autoinsert="false">
       
    27 		var ${appManager} = device.getServiceObject("Service.AppManager", "IAppManager");
       
    28 	</template>
       
    29 	<template name="calendar" description="Access WRT 1.1 calendar service. This API allows widgets to access, create, and manage calendars and calendar entries."
       
    30 		id="org.symbian.tools.wrttools.templates.calendar" context="javaScript"
       
    31 		enabled="true" autoinsert="false">
       
    32 		var ${calendarService} = device.getServiceObject("Service.Calendar", "IDataSource");
       
    33 	</template>
       
    34 	<template name="contact" description="Access WRT 1.1 contacts service. This API allows widgets to access and manage information about contacts."
       
    35 		id="org.symbian.tools.wrttools.templates.contacts" context="javaScript"
       
    36 		enabled="true" autoinsert="false">
       
    37 		var ${contactService} = device.getServiceObject("Service.Contact", "IDataSource");
       
    38 	</template>
       
    39 	<template name="landmarks" description="Access WRT 1.1 landmarks service. This API allows widgets to access and manage information about landmarks and landmark categories. The information is stored in one or more landmark databases on a device."
       
    40 		id="org.symbian.tools.wrttools.templates.landmarks" context="javaScript"
       
    41 		enabled="true" autoinsert="false">
       
    42 		var ${landmarksService} = device.getServiceObject("Service.Landmarks", "IDataSource");
       
    43 	</template>
       
    44 	<template name="location" description="Access WRT 1.1 location service. This API allows widgets to retrieve information about the geographic location of the device and to perform location-based calculations."
       
    45 		id="org.symbian.tools.wrttools.templates.location" context="javaScript"
       
    46 		enabled="true" autoinsert="false">
       
    47 		var ${locationService} = device.getServiceObject("Service.Location", "ILocation");
       
    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."
       
    50 		id="org.symbian.tools.wrttools.templates.logging" context="javaScript"
       
    51 		enabled="true" autoinsert="false">
       
    52 		var ${loggingService} = device.getServiceObject("Service.Logging", "IDataSource");
       
    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."
       
    55 		id="org.symbian.tools.wrttools.templates.media" context="javaScript"
       
    56 		enabled="true" autoinsert="false">
       
    57 		var ${mediaService} = device.getServiceObject("Service.MediaManagement", "IDataSource");
       
    58 	</template>
       
    59 	<template name="messaging" description="Access WRT 1.1 messaging service. This API allows widgets to send, retrieve, and manage messages using the Message Store."
       
    60 		id="org.symbian.tools.wrttools.templates.messaging" context="javaScript"
       
    61 		enabled="true" autoinsert="false">
       
    62 		var ${messaging} = device.getServiceObject("Service.Messaging", "IMessaging");
       
    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."
       
    65 		id="org.symbian.tools.wrttools.templates.sensor" context="javaScript"
       
    66 		enabled="true" autoinsert="false">
       
    67 		var ${sensors} = device.getServiceObject("Service.Sensor", "ISensor");
       
    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>
       
    74 
       
    75 </templates>