From: Lars Op den Kamp Date: Wed, 3 Oct 2012 15:59:21 +0000 (+0200) Subject: bump client versions X-Git-Tag: upstream/2.2.0~1^2~17^2^2~35 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e6d284e6cd5557bf64d33411e2d2923a980dc530;p=deb_libcec.git bump client versions --- diff --git a/src/CecSharpTester/CecSharpClient.cs b/src/CecSharpTester/CecSharpClient.cs index f470171..37b04e9 100644 --- a/src/CecSharpTester/CecSharpClient.cs +++ b/src/CecSharpTester/CecSharpClient.cs @@ -43,7 +43,7 @@ namespace CecSharpClient Config = new LibCECConfiguration(); Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; Config.DeviceName = "CEC Tester"; - Config.ClientVersion = CecClientVersion.Version1_99_0; + Config.ClientVersion = CecClientVersion.Version2_0_0; Config.SetCallbacks(this); LogLevel = (int)CecLogLevel.All; diff --git a/src/cec-config-gui/CecConfigGUI.cs b/src/cec-config-gui/CecConfigGUI.cs index f4353be..46efb79 100644 --- a/src/cec-config-gui/CecConfigGUI.cs +++ b/src/cec-config-gui/CecConfigGUI.cs @@ -28,7 +28,7 @@ namespace CecConfigGui Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice; Config.DeviceName = "CEC Config"; Config.GetSettingsFromROM = true; - Config.ClientVersion = CecClientVersion.Version1_99_0; + Config.ClientVersion = CecClientVersion.Version2_0_0; Callbacks = new CecCallbackWrapper(this); Config.SetCallbacks(Callbacks); LoadXMLConfiguration(ref Config); diff --git a/src/cec-config/cec-config.cpp b/src/cec-config/cec-config.cpp index cbc94bb..380adee 100644 --- a/src/cec-config/cec-config.cpp +++ b/src/cec-config/cec-config.cpp @@ -160,7 +160,7 @@ bool OpenConnection(cec_device_type type = CEC_DEVICE_TYPE_RECORDING_DEVICE) g_config.Clear(); snprintf(g_config.strDeviceName, 13, "CEC-config"); g_config.callbackParam = NULL; - g_config.clientVersion = (uint32_t)CEC_CLIENT_VERSION_1_9_0; + g_config.clientVersion = (uint32_t)CEC_CLIENT_VERSION_2_0_0; g_callbacks.CBCecLogMessage = &CecLogMessage; g_callbacks.CBCecKeyPress = &CecKeyPress; g_callbacks.CBCecCommand = &CecCommand; diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index dc68b60..beafe8a 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -48,7 +48,7 @@ using namespace CEC; using namespace std; using namespace PLATFORM; -#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_1_99_0; +#define CEC_CONFIG_VERSION CEC_CLIENT_VERSION_2_0_0; #include "../../include/cecloader.h"