X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=8cdaa89a0e9e797f2931fedb936534c3009a2bd2;hb=aa4cfa6482c4408f80b5393baf2dcefceb8ddc9b;hp=7107afcba90b9a25f878368f3da73bb1858ff5a5;hpb=11fea069b79880253a450a74a53b31356598d57a;p=deb_libcec.git diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index 7107afc..8cdaa89 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -326,13 +326,17 @@ namespace CecSharp public enum class CecClientVersion { VersionPre1_5 = 0, - Version1_5_0 = 0x1500 + Version1_5_0 = 0x1500, + Version1_5_1 = 0x1501, + Version1_5_2 = 0x1502 }; public enum class CecServerVersion { VersionPre1_5 = 0, - Version1_5_0 = 0x1500 + Version1_5_0 = 0x1500, + Version1_5_1 = 0x1501, + Version1_5_2 = 0x1502 }; public ref class CecAdapter @@ -547,6 +551,7 @@ namespace CecSharp PowerOffScreensaver = CEC_DEFAULT_SETTING_POWER_OFF_SCREENSAVER == 1; PowerOffOnStandby = CEC_DEFAULT_SETTING_POWER_OFF_ON_STANDBY == 1; + SendInactiveSource = CEC_DEFAULT_SETTING_SEND_INACTIVE_SOURCE == 1; } void SetCallbacks(CecCallbackMethods ^callbacks) @@ -586,6 +591,7 @@ namespace CecSharp PowerOffScreensaver = config.bPowerOffScreensaver == 1; PowerOffOnStandby = config.bPowerOffOnStandby == 1; + SendInactiveSource = config.bSendInactiveSource == 1; } property System::String ^ DeviceName; @@ -606,6 +612,7 @@ namespace CecSharp property CecLogicalAddresses ^PowerOffDevices; property bool PowerOffScreensaver; property bool PowerOffOnStandby; + property bool SendInactiveSource; property CecCallbackMethods ^ Callbacks; };