X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=8a7410ea954403bf43214a3375881dbb8516181f;hb=31e9723746bb84a4af0a6b2bcd64421c0b690061;hp=10a0fa946914c1b1cf22bf8d8c62f9bc8dd3056f;hpb=16f47961800432dbdd5b3ead717908f383d26d6b;p=deb_libcec.git
diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h
index 10a0fa9..8a7410e 100644
--- a/src/LibCecSharp/CecSharpTypes.h
+++ b/src/LibCecSharp/CecSharpTypes.h
@@ -200,7 +200,27 @@ namespace CecSharp
/// The device needs servicing. This is set when the firmware can be upgraded, or when a problem with the firmware is detected.
/// The latest firmware flash tool can be downloaded from http://packages.pulse-eight.net/
///
- ServiceDevice = 1
+ ServiceDevice = 0,
+ ///
+ /// The connection to the adapter was lost, probably because the device got unplugged.
+ ///
+ ConnectionLost,
+ ///
+ /// No permission from the OS to access the adapter.
+ ///
+ PermissionError,
+ ///
+ /// The device is being used by another program.
+ ///
+ PortBusy,
+ ///
+ /// The physical address that is assigned to the adapter is already being used.
+ ///
+ PhysicalAddressError,
+ ///
+ /// The TV does not respond to polls.
+ ///
+ TVPollFailed
};
///
@@ -1191,7 +1211,15 @@ namespace CecSharp
///
/// v2.1.0
///
- Version2_1_0 = 0x2100
+ Version2_1_0 = 0x2100,
+ ///
+ /// v2.1.1
+ ///
+ Version2_1_1 = 0x2101,
+ ///
+ /// The current version
+ ///
+ CurrentVersion = 0x2101
};
///
@@ -1294,7 +1322,15 @@ namespace CecSharp
///
/// v2.1.0
///
- Version2_1_0 = 0x2100
+ Version2_1_0 = 0x2100,
+ ///
+ /// v2.1.1
+ ///
+ Version2_1_1 = 0x2101,
+ ///
+ /// The current version
+ ///
+ CurrentVersion = 0x2101
};
///
@@ -1685,8 +1721,8 @@ namespace CecSharp
PhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS;
BaseDevice = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE;
HDMIPort = CEC_DEFAULT_HDMI_PORT;
- ClientVersion = CecClientVersion::Version2_1_0;
- ServerVersion = CecServerVersion::Version2_1_0;
+ ClientVersion = CecClientVersion::Version2_1_1;
+ ServerVersion = CecServerVersion::Version2_1_1;
TvVendor = CecVendorId::Unknown;
GetSettingsFromROM = false;
@@ -1935,6 +1971,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