repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added another id for vendor Harman/Kardon (0x001950)
[deb_libcec.git]
/
src
/
LibCecTray
/
controller
/
CECController.cs
diff --git
a/src/LibCecTray/controller/CECController.cs
b/src/LibCecTray/controller/CECController.cs
index c394c08f336bd7e1f099fda73d76eb50df7a6263..ec0b0d6ba6a343757705cc3ff7b23035d2027383 100644
(file)
--- a/
src/LibCecTray/controller/CECController.cs
+++ b/
src/LibCecTray/controller/CECController.cs
@@
-372,22
+372,22
@@
namespace LibCECTray.controller
switch (alert)
{
case CecAlert.ServiceDevice:
switch (alert)
{
case CecAlert.ServiceDevice:
- MessageBox.Show(Resources.alert_service_device, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_service_device, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
case CecAlert.ConnectionLost:
break;
case CecAlert.ConnectionLost:
- MessageBox.Show(Resources.alert_connection_lost, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_connection_lost, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
case CecAlert.PermissionError:
break;
case CecAlert.PermissionError:
- MessageBox.Show(Resources.alert_permission_error, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_permission_error, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
case CecAlert.PortBusy:
break;
case CecAlert.PortBusy:
- MessageBox.Show(Resources.alert_port_busy, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_port_busy, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
case CecAlert.PhysicalAddressError:
break;
case CecAlert.PhysicalAddressError:
- MessageBox.Show(Resources.alert_physical_address_error, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_physical_address_error, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
case CecAlert.TVPollFailed:
break;
case CecAlert.TVPollFailed:
- MessageBox.Show(Resources.alert_tv_poll_failed, Resources.cec_alert, MessageBoxButtons.OK);
+ MessageBox.Show(Resources.alert_tv_poll_failed, Resources.cec_alert, MessageBoxButtons.OK
, MessageBoxIcon.Warning
);
break;
}
return 1;
break;
}
return 1;
@@
-470,7
+470,7
@@
namespace LibCECTray.controller
{
if (_config == null)
{
{
if (_config == null)
{
- _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.
Version2_1_0
};
+ _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.
CurrentVersion
};
_config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
_config.SetCallbacks(this);
_config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
_config.SetCallbacks(this);