From 7fadcd03aa2949bec911583a67032c745451943f Mon Sep 17 00:00:00 2001 From: "ziv.chang" Date: Fri, 29 Nov 2013 12:01:10 +0800 Subject: [PATCH] Update vehicle widl file update tizen.widlprocxml due to latest vehicle api Change-Id: I8f0c7e59ead4209308094b08dd1615f4b3f08f74 Signed-off-by: ziv.chang --- package/changelog | 4 +++ package/pkginfo.manifest | 2 +- widlprocxmls/tizen.widlprocxml | 71 +++++++++++++++++++++++++++++------------- 3 files changed, 54 insertions(+), 23 deletions(-) diff --git a/package/changelog b/package/changelog index 236daee..b08dcc0 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,7 @@ +* 3.0.3 +- update vehicle api widl file +== ziv.chang 2013-11-29 + * 3.0.2 - add missing files == ziv.chang 2013-11-19 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index f8080b8..6f792dc 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version:3.0.2 +Version:3.0.3 Maintainer: Ziv Chang Package:ivi-3.0-web-add-ons diff --git a/widlprocxmls/tizen.widlprocxml b/widlprocxmls/tizen.widlprocxml index 0705493..6dbf55d 100755 --- a/widlprocxmls/tizen.widlprocxml +++ b/widlprocxmls/tizen.widlprocxml @@ -3,9 +3,12 @@ module Vehicle { -partial interface Navigator { - attribute Vehicle vehicle; +[NoInterfaceObject] +interface VehicleManagerObject { + readonly attribute Vehicle vehicle; }; +Tizen implements VehicleManagerObject; + [NoInterfaceObject] interface VehiclePropertyType: Event { @@ -51,11 +54,13 @@ interface Vehicle { any get(DOMString objectType, optional short zone); - subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); + void subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); + + void set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); - set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); + void getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); - getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); + sequence<unsigned short> listZones(DOMString objectType); }; [NoInterfaceObject] @@ -533,9 +538,10 @@ interface ObstacleDistance : VehiclePropertyType { attribute object obstacleDistance; }; }; - - partial interface Navigator { - attribute Vehicle vehicle; + + [NoInterfaceObject] +interface VehicleManagerObject { + readonly attribute Vehicle vehicle; }; @@ -556,11 +562,19 @@ Details. - - attribute Vehicle vehicle; + + + NoInterfaceObject + + + + readonly attribute Vehicle vehicle; + + Tizen implements VehicleManagerObject; + [NoInterfaceObject] interface VehiclePropertyType: Event { @@ -714,11 +728,13 @@ interface Vehicle { any get(DOMString objectType, optional short zone); - subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); + void subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); - set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); + void set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); - getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); + void getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); + + sequence<unsigned short> listZones(DOMString objectType); }; @@ -798,14 +814,14 @@ interface Vehicle { - - subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); + + void subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback); subscribe to the given property and get callbacks when it changes - + @@ -836,14 +852,14 @@ interface Vehicle { - - set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); + + void set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback); set the given objectType to value - + @@ -871,14 +887,14 @@ interface Vehicle { - - getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); + + void getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback); get values for a given objectType within a certain past time period between 'startTime' and 'endTime' - + @@ -930,6 +946,17 @@ interface Vehicle { + + sequence<unsigned short> listZones(DOMString objectType); + + + + + + + + + [NoInterfaceObject] -- 2.7.4