diff options
author | mvglasow <michael -at- vonglasow.com> | 2018-01-25 14:59:35 +0100 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2018-01-25 14:59:35 +0100 |
commit | 8991f234990429d90e09b59f21305e205bd59544 (patch) | |
tree | e21e16c7850677a3a8807522b2ce59ef626ef891 /navit/traffic.h | |
parent | de8089555473bbed8fe900aef3fda0d5a5b74cf9 (diff) | |
download | navit-8991f234990429d90e09b59f21305e205bd59544.tar.gz |
Add:traffic:Values for invalid events
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.h')
-rw-r--r-- | navit/traffic.h | 2 |
1 files changed, 2 insertions, 0 deletions
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` */ |