From 4836bfc863f70c4dfefde4a89bbd8be307eb552b Mon Sep 17 00:00:00 2001 From: AEtHeLsYn Date: Mon, 21 Mar 2016 17:10:01 +0100 Subject: [PATCH] Update JsonConnection.h Former-commit-id: 4a0983b135f8386ee4e0db81c044dbaa87e05c03 --- src/hyperion-remote/JsonConnection.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/hyperion-remote/JsonConnection.h b/src/hyperion-remote/JsonConnection.h index ccda9f1c..48455110 100644 --- a/src/hyperion-remote/JsonConnection.h +++ b/src/hyperion-remote/JsonConnection.h @@ -14,6 +14,7 @@ // hyperion-remote includes #include "ColorTransformValues.h" +#include "ColorCorrectionValues.h" /// /// Connection class to setup an connection to the hyperion server and execute commands @@ -113,14 +114,10 @@ public: /// @note Note that providing a NULL will leave the settings on the server unchanged /// /// @param correctionId The identifier of the correction to set - /// @param red The red correction value - /// @param green The green correction value - /// @param blue The blue correction value + /// @param correction The correction values void setCorrection( std::string * correctionId, - int * red, - int * green, - int * blue); + ColorCorrectionValues * correction); /// /// Set the color temperature of the leds @@ -128,14 +125,10 @@ public: /// @note Note that providing a NULL will leave the settings on the server unchanged /// /// @param temperatureId The identifier of the correction to set - /// @param red The red temperature value - /// @param green The green temperature value - /// @param blue The blue temperature value + /// @param temperature The temperature correction values void setTemperature( std::string * temperatureId, - int * red, - int * green, - int * blue); + ColorCorrectionValues * temperature); private: ///