summaryrefslogtreecommitdiff
path: root/src/components/include/protocol_handler/protocol_handler_settings.h
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2018-07-12 13:32:52 -0700
committerGitHub <noreply@github.com>2018-07-12 13:32:52 -0700
commit7911d4a89a46651168ff69b5eb1c859464d40685 (patch)
treea6108b6502b53f2f942e00d32138d31b40ec31a1 /src/components/include/protocol_handler/protocol_handler_settings.h
parentc3179ce99d1bb664fe84078243e46a0de358b88b (diff)
parent0e70eea7754b5724ef910319cca7ec624c7c756e (diff)
downloadsdl_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.h22
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_