X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FCecSharpTypes.h;h=fb14a54dba9cc00c6ac50d1b695fcacb29656507;hb=9c72728bd85e738350d8bd28fc9fd5cc26b80e1e;hp=a0110ad93714e16891db9a76857287d7f9328ab0;hpb=1c7cd8f8c8085141c4267680a9bdab1d820056bb;p=deb_libcec.git diff --git a/src/LibCecSharp/CecSharpTypes.h b/src/LibCecSharp/CecSharpTypes.h index a0110ad..fb14a54 100644 --- a/src/LibCecSharp/CecSharpTypes.h +++ b/src/LibCecSharp/CecSharpTypes.h @@ -917,6 +917,7 @@ namespace CecSharp GivePhysicalAddress = 0x83, /// /// Request language code of the menu language of a device + /// 3 character ISO 639-2 country code. see http://http://www.loc.gov/standards/iso639-2/ /// GetMenuLanguage = 0x91, /// @@ -925,6 +926,7 @@ namespace CecSharp ReportPhysicalAddress = 0x84, /// /// Report the language code of the menu language + /// 3 character ISO 639-2 country code. see http://http://www.loc.gov/standards/iso639-2/ /// SetMenuLanguage = 0x32, /// @@ -1153,7 +1155,15 @@ namespace CecSharp /// /// v1.9.0 /// - Version1_9_0 = 0x1900 + Version1_9_0 = 0x1900, + /// + /// v2.0.0-pre + /// + Version1_99_0 = 0x1990, + /// + /// v2.0.0 + /// + Version2_0_0 = 0x2000 }; /// @@ -1224,7 +1234,15 @@ namespace CecSharp /// /// v1.9.0 /// - Version1_9_0 = 0x1900 + Version1_9_0 = 0x1900, + /// + /// v2.0.0-pre + /// + Version1_99_0 = 0x1990, + /// + /// v2.0.0 + /// + Version2_0_0 = 0x2000 }; /// @@ -1733,22 +1751,22 @@ namespace CecSharp property CecDeviceTypeList ^ DeviceTypes; /// - /// True to try to autodetect the physical address, false otherwise + /// (read only) set to true by libCEC when the physical address was autodetected /// property bool AutodetectAddress; /// - /// The physical address that libCEC uses on the CEC bus + /// The physical address of the CEC adapter /// property uint16_t PhysicalAddress; /// - /// The logical address of the device to which the CEC adapter is connected, only used when PhysicalAddress isn't set + /// The logical address of the device to which the adapter is connected. Only used when PhysicalAddress = 0 or when the adapter doesn't support autodetection /// property CecLogicalAddress BaseDevice; /// - /// The hdmi port number on the device to which the CEC adapter is connected, only used when PhysicalAddress isn't set + /// The HDMI port to which the adapter is connected. Only used when iPhysicalAddress = 0 or when the adapter doesn't support autodetection /// property uint8_t HDMIPort; @@ -1763,7 +1781,7 @@ namespace CecSharp property CecServerVersion ServerVersion; /// - /// Override the vendor ID of the TV when set (for quirks mode) + /// Override the vendor ID of the TV. Leave this untouched to autodetect /// property CecVendorId TvVendor; @@ -1774,6 +1792,7 @@ namespace CecSharp /// /// Use the language setting of the TV in the client application. Must be implemented by the client application. + /// 3 character ISO 639-2 country code. see http://http://www.loc.gov/standards/iso639-2/ /// property bool UseTVMenuLanguage; @@ -1783,12 +1802,12 @@ namespace CecSharp property bool ActivateSource; /// - /// List of devices to send a power on command to when starting the client application + /// List of devices to wake when initialising libCEC or when calling PowerOnDevices() without any parameter. /// property CecLogicalAddresses ^WakeDevices; /// - /// List of devices to send a standby command to when exiting the client application + /// List of devices to power off when calling StandbyDevices() without any parameter. /// property CecLogicalAddresses ^PowerOffDevices; @@ -1821,6 +1840,10 @@ namespace CecSharp /// Send standby commands when the client application activates standby mode (S3). Must be implemented by the client application. /// property bool PowerOffDevicesOnStandby; + + /// + /// Shutdown this PC when the TV is switched off. only used when PowerOffOnStandby = false + /// property bool ShutdownOnStandby; /// @@ -1830,6 +1853,7 @@ namespace CecSharp /// /// The language code of the menu language that libCEC reports to other devices. + /// 3 character ISO 639-2 country code. see http://http://www.loc.gov/standards/iso639-2/ /// property System::String ^ DeviceLanguage; @@ -1910,7 +1934,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) { @@ -1928,7 +1952,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) { @@ -1946,7 +1970,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) { @@ -1964,7 +1988,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) { @@ -1982,7 +2006,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) {