diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2017-12-04 12:21:00 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2017-12-04 12:21:00 -0500 |
commit | a8c3e2ac28d758b30a2b933918635ef33f2d4cd3 (patch) | |
tree | 8f0871c23af4b53351a0aad30a87642cd2b3a024 /src/components/include/protocol_handler/protocol_handler_settings.h | |
parent | 8c94933f0d3be1ac6c6e4e88bf46dd02b52f62a6 (diff) | |
download | sdl_core-a8c3e2ac28d758b30a2b933918635ef33f2d4cd3.tar.gz |
Add DEPRECATED macro, and fix resulting deprecated warnings
Diffstat (limited to 'src/components/include/protocol_handler/protocol_handler_settings.h')
-rw-r--r-- | src/components/include/protocol_handler/protocol_handler_settings.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/include/protocol_handler/protocol_handler_settings.h b/src/components/include/protocol_handler/protocol_handler_settings.h index 362f49e140..e1107cb2a9 100644 --- a/src/components/include/protocol_handler/protocol_handler_settings.h +++ b/src/components/include/protocol_handler/protocol_handler_settings.h @@ -34,8 +34,11 @@ class ProtocolHandlerSettings { */ virtual uint16_t max_supported_protocol_version() const = 0; - // DEPRECATED - virtual bool enable_protocol_4() const = 0; + /* + * @brief Returns true, if SDL 4.0 is enabled + * @deprecated Use max_supported_protocol_version instead + */ + DEPRECATED virtual bool enable_protocol_4() const = 0; virtual uint32_t multiframe_waiting_timeout() const = 0; #ifdef ENABLE_SECURITY |