X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=c7636a1551bf2cc0696a66c0c942b482673c7319;hb=3490ea720c5ec7532455ac9b434e2d8e6071a2c1;hp=a6fc2d4a25602ed4a5c5911362c607bc71ca88c1;hpb=0c271bd0fc05728d0dd90065a064737a979f50d3;p=deb_libcec.git diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index a6fc2d4..c7636a1 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * -* libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. +* libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -764,22 +764,26 @@ namespace CecSharp /// public enum class CecVendorId { + Toshiba = 0x000039, Samsung = 0x0000F0, - LG = 0x00E091, - Panasonic = 0x008045, - Pioneer = 0x00E036, + Denon = 0x0005CD, + Loewe = 0x000982, Onkyo = 0x0009B0, - Yamaha = 0x00A0DE, - Philips = 0x00903E, - Sony = 0x080046, - Toshiba = 0x000039, + Medion = 0x000CB8, Akai = 0x0020C7, - Benq = 0x8065E9, + AOC = 0x002467, + Panasonic = 0x008045, + Philips = 0x00903E, Daewoo = 0x009053, + Yamaha = 0x00A0DE, Grundig = 0x00D0D5, - Medion = 0x000CB8, + Pioneer = 0x00E036, + LG = 0x00E091, Sharp = 0x08001F, + Sony = 0x080046, + Broadcom = 0x18C086, Vizio = 0x6B746D, + Benq = 0x8065E9, Unknown = 0 }; @@ -1179,7 +1183,15 @@ namespace CecSharp /// /// v2.0.4 /// - Version2_0_4 = 0x2004 + Version2_0_4 = 0x2004, + /// + /// v2.0.5 + /// + Version2_0_5 = 0x2005, + /// + /// v2.1.0 + /// + Version2_1_0 = 0x2100 }; /// @@ -1274,7 +1286,15 @@ namespace CecSharp /// /// v2.0.4 /// - Version2_0_4 = 0x2004 + Version2_0_4 = 0x2004, + /// + /// v2.0.5 + /// + Version2_0_5 = 0x2005, + /// + /// v2.1.0 + /// + Version2_1_0 = 0x2100 }; /// @@ -1297,7 +1317,11 @@ namespace CecSharp /// /// Raspberry Pi /// - RaspberryPi = 0x100 + RaspberryPi = 0x100, + /// + /// TDA995x + /// + TDA995x = 0x200 }; /// @@ -1661,8 +1685,8 @@ namespace CecSharp PhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS; BaseDevice = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE; HDMIPort = CEC_DEFAULT_HDMI_PORT; - ClientVersion = CecClientVersion::VersionPre1_5; - ServerVersion = CecServerVersion::VersionPre1_5; + ClientVersion = CecClientVersion::Version2_1_0; + ServerVersion = CecServerVersion::Version2_1_0; TvVendor = CecVendorId::Unknown; GetSettingsFromROM = false; @@ -1770,6 +1794,9 @@ namespace CecSharp if (ServerVersion >= CecServerVersion::Version1_8_2) AdapterType = (CecAdapterType)config.adapterType; + + if (ServerVersion >= CecServerVersion::Version2_1_0) + PowerOnScreensaver = config.bPowerOnScreensaver == 1; } /// @@ -1908,6 +1935,11 @@ namespace CecSharp /// The type of adapter that libCEC is connected to. /// property CecAdapterType AdapterType; + + /// + /// True to power on when quitting the screensaver. + /// + property bool PowerOnScreensaver; }; // the callback methods are called by unmanaged code, so we need some delegates for this