X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=a75a76217a511f852ef68f856ca4e8a707df5b8b;hb=a5a5f6f5437c662e7f8d8e52d32e5cddacc89784;hp=a1be0d4be860b93f27599d7ed4ce3046c769911d;hpb=999665e393983d93aa0309fbaf608267ed1207ba;p=deb_libcec.git
diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h
index a1be0d4..a75a762 100644
--- a/src/LibCecSharp/CecSharpTypes.h
+++ b/src/LibCecSharp/CecSharpTypes.h
@@ -1163,7 +1163,27 @@ namespace CecSharp
///
/// v2.0.0
///
- Version2_0_ = 0x2000
+ Version2_0_0 = 0x2000,
+ ///
+ /// v2.0.1
+ ///
+ Version2_0_1 = 0x2001,
+ ///
+ /// v2.0.2
+ ///
+ Version2_0_2 = 0x2002,
+ ///
+ /// v2.0.3
+ ///
+ Version2_0_3 = 0x2003,
+ ///
+ /// v2.0.4
+ ///
+ Version2_0_4 = 0x2004,
+ ///
+ /// v2.0.5
+ ///
+ Version2_0_5 = 0x2005
};
///
@@ -1242,7 +1262,27 @@ namespace CecSharp
///
/// v2.0.0
///
- Version2_0_ = 0x2000
+ Version2_0_0 = 0x2000,
+ ///
+ /// v2.0.1
+ ///
+ Version2_0_1 = 0x2001,
+ ///
+ /// v2.0.2
+ ///
+ Version2_0_2 = 0x2002,
+ ///
+ /// v2.0.3
+ ///
+ Version2_0_3 = 0x2003,
+ ///
+ /// v2.0.4
+ ///
+ Version2_0_4 = 0x2004,
+ ///
+ /// v2.0.5
+ ///
+ Version2_0_5 = 0x2005
};
///
@@ -1934,7 +1974,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)
{
@@ -1952,7 +1992,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)
{
@@ -1970,7 +2010,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)
{
@@ -1988,7 +2028,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)
{
@@ -2006,7 +2046,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)
{