make vehicle namespace under tizen 66/12266/1
authorYangang Han <yangangx.han@intel.com>
Wed, 13 Nov 2013 07:30:40 +0000 (15:30 +0800)
committerYangang Han <yangangx.han@intel.com>
Wed, 13 Nov 2013 07:42:20 +0000 (15:42 +0800)
Change-Id: I18a069f270c9df0f9efc0c04e1542d5ca07b8a9b
Signed-off-by: Yangang Han <yangangx.han@intel.com>
src/Vehicle/Vehicle.idl

index 6b6f58f..7ccf351 100644 (file)
@@ -9,13 +9,18 @@ Details.
 
 */
 
-partial interface Navigator   { 
-        attribute Vehicle vehicle;
+
+[NoInterfaceObject]
+interface VehicleManagerObject {
+    readonly attribute Vehicle vehicle;
 };
+Tizen implements VehicleManagerObject;
+
 
 [NoInterfaceObject]
 interface VehiclePropertyType: Event { 
-       /** /brief time at which the vehicle generated the property
+       /**  Time
+        *  \brief time at which the vehicle generated the property
         **/
         attribute DOMTimeStamp time;
         attribute short zone;
@@ -79,7 +84,7 @@ interface Vehicle  {
         *  \param errorCallback callback if error has been called.
         **/
 
-       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);
 
        /**
         *  \brief set the given objectType to value
@@ -87,18 +92,18 @@ interface Vehicle  {
         *  \param value value to set, should contain zone information ie "zone" : 0
         *  \param errorCallback callback if error has been called.
         **/
-       set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback);
+       void set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback);
 
        /**
         *  \brief get values for a given objectType within a certain past time period between 'startTime' and 'endTime'
         *  \param objectType object type to request
         *  \param zone in which the objectType is located or 0 if no zone.
-        *  \param startTime, starting period of time.
-        *  \param endTime, ending period of time.
+        *  \param startTime starting period of time.
+        *  \param endTime ending period of time.
         *  \param successCallback Callback with the result of the method call
         *  \param errorCallback Callback if an error has occurred.
-       **/
-       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);
 };
 
 [NoInterfaceObject]
@@ -874,5 +879,3 @@ interface ObstacleDistance : VehiclePropertyType  {
         **/
         attribute object obstacleDistance;
 };
-
-