X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=28c8d923b487d906d4cead98591f34c7443795a4;hb=7c5c5bf4a9f3bf8725b5018d6fe7add742edea14;hp=62b7b602f51e1ad56c9721933941ea46122eaf74;hpb=e4a53f8e9db31df884891ef1f4c5607dd7458ad0;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 62b7b60..28c8d92 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -836,7 +836,7 @@ typedef struct cec_device_type_list return bReturn; } - bool IsEmpty() + bool IsEmpty() const { bool bReturn(true); for (unsigned int iPtr = 0; bReturn && iPtr < 5; iPtr++) @@ -1067,7 +1067,7 @@ typedef struct libcec_configuration bShutdownOnStandby = CEC_DEFAULT_SETTING_SHUTDOWN_ON_STANDBY; bSendInactiveSource = CEC_DEFAULT_SETTING_SEND_INACTIVE_SOURCE; logicalAddresses.Clear(); - iFirmwareVersion = 0; + iFirmwareVersion = CEC_FW_VERSION_UNKNOWN; bPowerOffDevicesOnStandby = CEC_DEFAULT_SETTING_POWER_OFF_DEVICES_STANDBY; callbackParam = NULL;