From bccb55317b6bcabe63ccf89a81a82babeac6d0b5 Mon Sep 17 00:00:00 2001 From: asanoaozora Date: Tue, 2 Aug 2016 16:57:21 +0200 Subject: CommonAPI: other files migrated but not tested yet --- api/franca/CMakeLists.txt | 8 +++++++- api/franca/navigation/mapviewer/MapViewerControl.fidl | 2 ++ api/franca/navigation/navigationcore/MapMatchedPosition.fidl | 2 +- api/franca/navigation/navigationcore/Routing.fidl | 2 +- api/map-viewer/genivi-mapviewer-mapviewercontrol.xml | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) (limited to 'api') diff --git a/api/franca/CMakeLists.txt b/api/franca/CMakeLists.txt index 95c72fc..ee3c795 100644 --- a/api/franca/CMakeLists.txt +++ b/api/franca/CMakeLists.txt @@ -29,7 +29,13 @@ option(COMMONAPI_TOOL_DIR option(COMMONAPI_DBUS_TOOL_DIR "Absolute path to CommonAPI-DBus tool" "") -set(COMMONAPI_GEN_DIR ${CMAKE_CURRENT_BINARY_DIR}) +get_directory_property(hasParent PARENT_DIRECTORY) + +if(hasParent) + set(COMMONAPI_GEN_DIR "${CMAKE_CURRENT_BINARY_DIR}/src-gen" PARENT_SCOPE) +else() + set(COMMONAPI_GEN_DIR "${CMAKE_CURRENT_BINARY_DIR}/src-gen") +endif() if (COMMONAPI_TOOL_DIR) message(STATUS "COMMONAPI_TOOL_DIR ${COMMONAPI_TOOL_DIR}") diff --git a/api/franca/navigation/mapviewer/MapViewerControl.fidl b/api/franca/navigation/mapviewer/MapViewerControl.fidl index 1346045..5b0595c 100755 --- a/api/franca/navigation/mapviewer/MapViewerControl.fidl +++ b/api/franca/navigation/mapviewer/MapViewerControl.fidl @@ -1330,6 +1330,8 @@ interface MapViewerControl { @description : valueToReturn = enum(PAN_START,PAN_TO,PAN_END) **> PanAction valueToReturn + } + out { Pixel [] pixelCoordinates } diff --git a/api/franca/navigation/navigationcore/MapMatchedPosition.fidl b/api/franca/navigation/navigationcore/MapMatchedPosition.fidl index 0658eab..437dfca 100644 --- a/api/franca/navigation/navigationcore/MapMatchedPosition.fidl +++ b/api/franca/navigation/navigationcore/MapMatchedPosition.fidl @@ -278,7 +278,7 @@ interface MapMatchedPosition { <** @description : getAddress = This method returns the current address **> - method getAddress { + method getCurrentAddress { in { AddressItemKey[] valuesToReturn } diff --git a/api/franca/navigation/navigationcore/Routing.fidl b/api/franca/navigation/navigationcore/Routing.fidl index 6e741a5..c05477a 100644 --- a/api/franca/navigation/navigationcore/Routing.fidl +++ b/api/franca/navigation/navigationcore/Routing.fidl @@ -161,7 +161,7 @@ interface Routing { //TODO: Incomplete union RouteSegmentItem { Double doubleValue // LATITUDE, LONGITUDE, ALTITUDE - IntermediatePoint intermediatePoints + IntermediatePoint[] intermediatePoints String stringValue // ROAD_NUMBER ByteBuffer linkId Int32 int32Value diff --git a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml index e400238..5335bfb 100644 --- a/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml +++ b/api/map-viewer/genivi-mapviewer-mapviewercontrol.xml @@ -1067,7 +1067,7 @@ cover with other windows or user interface elements valueToReturn = enum(PAN_START,PAN_TO,PAN_END) - + pixelCoordinates = array[struct(x,y)] x = x-coordinate (x=0 indicates the first left pixel of the map view) -- cgit v1.2.1