From 8991f234990429d90e09b59f21305e205bd59544 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Thu, 25 Jan 2018 14:59:35 +0100 Subject: Add:traffic:Values for invalid events Signed-off-by: mvglasow --- navit/traffic.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'navit/traffic.h') diff --git a/navit/traffic.h b/navit/traffic.h index 80e3c0ae0..dfabe2d82 100644 --- a/navit/traffic.h +++ b/navit/traffic.h @@ -61,6 +61,7 @@ extern "C" { * @brief Classes for events. */ enum event_class { + event_class_invalid = 0, /*!< Invalid event which should be ignored */ event_class_congestion, /*!< Traffic congestion, typically indicating the approximate speed */ event_class_delay, /*!< Delays, typically indicating the amount of extra waiting time */ event_class_restriction, /*!< Temporary traffic restrictions, such as road or lane closures or size, @@ -71,6 +72,7 @@ enum event_class { * @brief Event types. */ enum event_type { + event_invalid = 0, /*!< Invalid event which should be ignored */ event_congestion_cleared, /*!< Traffic congestion cleared */ event_congestion_forecast_withdrawn, /*!< Traffic congestion forecast withdrawn */ event_congestion_heavy_traffic, /*!< Heavy traffic with average speeds of `speed` */ -- cgit v1.2.1