diff options
author | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-07-12 13:32:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 13:32:52 -0700 |
commit | 7911d4a89a46651168ff69b5eb1c859464d40685 (patch) | |
tree | a6108b6502b53f2f942e00d32138d31b40ec31a1 /src/components/include/protocol_handler/protocol_handler_settings.h | |
parent | c3179ce99d1bb664fe84078243e46a0de358b88b (diff) | |
parent | 0e70eea7754b5724ef910319cca7ec624c7c756e (diff) | |
download | sdl_core-feature/remove_auto_ptr.tar.gz |
Merge branch 'develop' into feature/remove_auto_ptrfeature/remove_auto_ptr
Diffstat (limited to 'src/components/include/protocol_handler/protocol_handler_settings.h')
-rw-r--r-- | src/components/include/protocol_handler/protocol_handler_settings.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/include/protocol_handler/protocol_handler_settings.h b/src/components/include/protocol_handler/protocol_handler_settings.h index e1107cb2a9..c4f9bb6420 100644 --- a/src/components/include/protocol_handler/protocol_handler_settings.h +++ b/src/components/include/protocol_handler/protocol_handler_settings.h @@ -51,6 +51,28 @@ class ProtocolHandlerSettings { */ virtual const std::vector<int>& force_unprotected_service() const = 0; #endif // ENABLE_SECURITY + + /** + * @brief Returns true multiple transports is enabled + */ + virtual const bool multiple_transports_enabled() const = 0; + + /** + * @brief Returns list of secondary transports available + * for the named primary transport + */ + virtual const std::vector<std::string>& secondary_transports_for_bluetooth() + const = 0; + virtual const std::vector<std::string>& secondary_transports_for_usb() + const = 0; + virtual const std::vector<std::string>& secondary_transports_for_wifi() + const = 0; + + /** + * @brief Returns list of allowed transports for the named service + */ + virtual const std::vector<std::string>& audio_service_transports() const = 0; + virtual const std::vector<std::string>& video_service_transports() const = 0; }; } // namespace protocol_handler #endif // SRC_COMPONENTS_INCLUDE_PROTOCOL_HANDLER_PROTOCOL_HANDLER_SETTINGS_H_ |