/// <param name="cbParam">Pointer to the callback struct</param>
/// <param name="message">The log message</param>
/// <return>1 when handled, 0 otherwise</return>
- int CecLogMessageCB(void *cbParam, const CEC::cec_log_message &message)
+ int CecLogMessageCB(void *cbParam, const CEC::cec_log_message message)
{
if (cbParam)
{
/// <param name="cbParam">Pointer to the callback struct</param>
/// <param name="key">The key press command that libCEC received</param>
/// <return>1 when handled, 0 otherwise</return>
- int CecKeyPressCB(void *cbParam, const CEC::cec_keypress &key)
+ int CecKeyPressCB(void *cbParam, const CEC::cec_keypress key)
{
if (cbParam)
{
/// <param name="cbParam">Pointer to the callback struct</param>
/// <param name="command">The raw CEC data</param>
/// <return>1 when handled, 0 otherwise</return>
- int CecCommandCB(void *cbParam, const CEC::cec_command &command)
+ int CecCommandCB(void *cbParam, const CEC::cec_command command)
{
if (cbParam)
{
/// <param name="cbParam">Pointer to the callback struct</param>
/// <param name="config">The new configuration</param>
/// <return>1 when handled, 0 otherwise</return>
- int CecConfigCB(void *cbParam, const CEC::libcec_configuration &config)
+ int CecConfigCB(void *cbParam, const CEC::libcec_configuration config)
{
if (cbParam)
{
/// <param name="cbParam">Pointer to the callback struct</param>
/// <param name="data">The alert message</param>
/// <return>1 when handled, 0 otherwise</return>
- 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)
{