X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=10a0fa946914c1b1cf22bf8d8c62f9bc8dd3056f;hb=bfea6e0a8ee4bc9e40c64ea68f22db69ac3cb26f;hp=ff97ef42f23e0cee290705725f8c7a420ae9e60c;hpb=32e33ada5015b494e8fb66e400484876d47b87f2;p=deb_libcec.git
diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h
index ff97ef4..10a0fa9 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.
@@ -1187,7 +1187,11 @@ namespace CecSharp
///
/// v2.0.5
///
- Version2_0_5 = 0x2005
+ Version2_0_5 = 0x2005,
+ ///
+ /// v2.1.0
+ ///
+ Version2_1_0 = 0x2100
};
///
@@ -1286,7 +1290,11 @@ namespace CecSharp
///
/// v2.0.5
///
- Version2_0_5 = 0x2005
+ Version2_0_5 = 0x2005,
+ ///
+ /// v2.1.0
+ ///
+ Version2_1_0 = 0x2100
};
///
@@ -1309,7 +1317,11 @@ namespace CecSharp
///
/// Raspberry Pi
///
- RaspberryPi = 0x100
+ RaspberryPi = 0x100,
+ ///
+ /// TDA995x
+ ///
+ TDA995x = 0x200
};
///
@@ -1673,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;
@@ -1782,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;
}
///