diff --git a/docs/integration-guide.md b/docs/integration-guide.md index 0c8f187..d3c4b3a 100644 --- a/docs/integration-guide.md +++ b/docs/integration-guide.md @@ -592,8 +592,6 @@ controller.send_command({.command = SendspinControllerCommand::SEEK_RELATIVE, .o Fields that do not match the command are ignored when the message is serialized. The server clamps seeks to the seekable range and ignores any command not present in the controller state's `supported_commands`. -> **Deprecated:** the earlier positional overload `send_command(cmd, volume, mute)` still works but cannot carry seek parameters and will be removed in v0.8.0. Migrate to the struct form above. - ## Accessing Roles In addition to the references returned by `add_*()`, you can access roles at any time through the client's accessor methods. These return `nullptr` if the role was not added. diff --git a/include/sendspin/controller_role.h b/include/sendspin/controller_role.h index 923e636..dc97e84 100644 --- a/include/sendspin/controller_role.h +++ b/include/sendspin/controller_role.h @@ -158,15 +158,6 @@ class ControllerRole { /// @param cmd The command plus any command-specific parameters void send_command(const ClientCommandControllerObject& cmd); - /// @brief Sends a controller command to the server - /// @deprecated Use send_command(const ClientCommandControllerObject&) instead. This overload - /// cannot carry seek parameters and will be removed in v0.8.0. - [[deprecated( - "use send_command(const ClientCommandControllerObject&); this overload cannot carry seek " - "parameters and will be removed in v0.8.0")]] - void send_command(SendspinControllerCommand cmd, std::optional volume = {}, - std::optional mute = {}); - private: std::unique_ptr impl_; }; diff --git a/src/controller_role.cpp b/src/controller_role.cpp index 680ad76..959adfe 100644 --- a/src/controller_role.cpp +++ b/src/controller_role.cpp @@ -47,11 +47,6 @@ void ControllerRole::send_command(const ClientCommandControllerObject& cmd) { this->impl_->send_command(cmd); } -void ControllerRole::send_command(SendspinControllerCommand cmd, std::optional volume, - std::optional mute) { - this->impl_->send_command({.command = cmd, .volume = volume, .muted = mute}); -} - // ============================================================================ // Impl method implementations // ============================================================================