navigo.h 979 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #include "../calypso_util.h"
  2. #include "../cards/intercode.h"
  3. #include "navigo_i.h"
  4. #include <datetime.h>
  5. #include <stdbool.h>
  6. #include <furi.h>
  7. #include <storage/storage.h>
  8. #include <toolbox/stream/stream.h>
  9. #include <toolbox/stream/file_stream.h>
  10. #ifndef NAVIGO_H
  11. #define NAVIGO_H
  12. const char* get_navigo_type(int type);
  13. char* get_navigo_station(
  14. int station_group_id,
  15. int station_id,
  16. int station_sub_id,
  17. int service_provider);
  18. const char* get_navigo_sncf_train_line(int station_group_id);
  19. const char* get_navigo_sncf_station(int station_group_id, int station_id);
  20. const char* get_navigo_tram_line(int route_number);
  21. typedef enum {
  22. NAVIGO_PROVIDER_SNCF = 2,
  23. NAVIGO_PROVIDER_RATP = 3,
  24. NAVIGO_PROVIDER_IDFM = 4,
  25. NAVIGO_PROVIDER_ORA = 8,
  26. NAVIGO_PROVIDER_VEOLIA_CSO = 115,
  27. NAVIGO_PROVIDER_VEOLIA_RBUS = 116,
  28. NAVIGO_PROVIDER_PHEBUS = 156,
  29. NAVIGO_PROVIDER_RATP_VEOLIA_NANTERRE = 175
  30. } NAVIGO_SERVICE_PROVIDER;
  31. #endif // NAVIGO_H