X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=fb14a54dba9cc00c6ac50d1b695fcacb29656507;hb=90b7066f7129c01c5bd012a00677ebdc0c42ae89;hp=c60952636dbafe3d919fc2bb0422672097db7e64;hpb=f81c0652a60fc95dd880bdbf279e61801c5cc1ec;p=deb_libcec.git diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index c609526..fb14a54 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -1159,7 +1159,11 @@ namespace CecSharp /// /// v2.0.0-pre /// - Version1_99_0 = 0x1990 + Version1_99_0 = 0x1990, + /// + /// v2.0.0 + /// + Version2_0_0 = 0x2000 }; /// @@ -1234,7 +1238,11 @@ namespace CecSharp /// /// v2.0.0-pre /// - Version1_99_0 = 0x1990 + Version1_99_0 = 0x1990, + /// + /// v2.0.0 + /// + Version2_0_0 = 0x2000 }; /// @@ -1926,7 +1934,7 @@ namespace CecSharp /// Pointer to the callback struct /// The log message /// 1 when handled, 0 otherwise - int CecLogMessageCB(void *cbParam, const CEC::cec_log_message &message) + int CecLogMessageCB(void *cbParam, const CEC::cec_log_message message) { if (cbParam) { @@ -1944,7 +1952,7 @@ namespace CecSharp /// Pointer to the callback struct /// The key press command that libCEC received /// 1 when handled, 0 otherwise - int CecKeyPressCB(void *cbParam, const CEC::cec_keypress &key) + int CecKeyPressCB(void *cbParam, const CEC::cec_keypress key) { if (cbParam) { @@ -1962,7 +1970,7 @@ namespace CecSharp /// Pointer to the callback struct /// The raw CEC data /// 1 when handled, 0 otherwise - int CecCommandCB(void *cbParam, const CEC::cec_command &command) + int CecCommandCB(void *cbParam, const CEC::cec_command command) { if (cbParam) { @@ -1980,7 +1988,7 @@ namespace CecSharp /// Pointer to the callback struct /// The new configuration /// 1 when handled, 0 otherwise - int CecConfigCB(void *cbParam, const CEC::libcec_configuration &config) + int CecConfigCB(void *cbParam, const CEC::libcec_configuration config) { if (cbParam) { @@ -1998,7 +2006,7 @@ namespace CecSharp /// Pointer to the callback struct /// The alert message /// 1 when handled, 0 otherwise - int CecAlertCB(void *cbParam, const CEC::libcec_alert alert, const CEC::libcec_parameter &data) + int CecAlertCB(void *cbParam, const CEC::libcec_alert alert, const CEC::libcec_parameter data) { if (cbParam) {