summaryrefslogtreecommitdiff
path: root/api/franca/CommonTypes.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'api/franca/CommonTypes.fidl')
-rw-r--r--api/franca/CommonTypes.fidl34
1 files changed, 34 insertions, 0 deletions
diff --git a/api/franca/CommonTypes.fidl b/api/franca/CommonTypes.fidl
new file mode 100644
index 0000000..de36738
--- /dev/null
+++ b/api/franca/CommonTypes.fidl
@@ -0,0 +1,34 @@
+package org.genivi.lbs.CommonTypes
+
+typeCollection CommonTypes {
+ version {
+ major 0
+ minor 1
+ }
+ <** @description : A template to generate a dbus 'v'.**>
+ union variant_t {
+ UInt32 element1
+ Float element2
+ }
+ <** @description: version.**>
+ struct version_t {
+ <** @description : when the major changes, then backward compatibility with previous releases is not granted.**>
+ UInt16 ^major
+ <** @description : when the minor changes, then backward compatibility with previous releases is granted, but something changed in the implementation of the API (e.g. new methods may have been added).**>
+ UInt16 ^minor
+ <** @description : when the micro changes, then backward compatibility with previous releases is granted (bug fixes or documentation modifications).**>
+ UInt16 ^micro
+ <** @description : release date (e.g. 21-06-2011).**>
+ String date
+ }
+ <** @description: 3D geocoordinate.**>
+ struct geoCoordinate3D_t
+ {
+ <** @description : latitude of a vertex of the polygon in format %3.6f. Range [-90:+90]. Example: 48.053250.**>
+ Double latitude
+ <** @description : longitude of a vertex of the polygon in format %3.6f. Range [-180:+180]. Example: 48.053250.**>
+ Double longitude
+ <** @description : altitude above the sea level of the current position in meters.**>
+ Int32 altitude
+ }
+ } \ No newline at end of file