[client] spice: update submodule and refactor calls & types

This commit is contained in:
Geoffrey McRae
2021-12-28 22:03:48 +11:00
parent e7fdf7e77a
commit 65ba2e8df9
8 changed files with 48 additions and 48 deletions

View File

@@ -25,7 +25,7 @@
#include "common/debug.h"
LG_ClipboardData cb_spiceTypeToLGType(const SpiceDataType type)
LG_ClipboardData cb_spiceTypeToLGType(const PSDataType type)
{
switch(type)
{
@@ -40,7 +40,7 @@ LG_ClipboardData cb_spiceTypeToLGType(const SpiceDataType type)
}
}
SpiceDataType cb_lgTypeToSpiceType(const LG_ClipboardData type)
PSDataType cb_lgTypeToSpiceType(const LG_ClipboardData type)
{
switch(type)
{
@@ -55,7 +55,7 @@ SpiceDataType cb_lgTypeToSpiceType(const LG_ClipboardData type)
}
}
void cb_spiceNotice(const SpiceDataType type)
void cb_spiceNotice(const PSDataType type)
{
if (!g_params.clipboardToLocal)
return;
@@ -67,7 +67,7 @@ void cb_spiceNotice(const SpiceDataType type)
g_state.ds->cbNotice(cb_spiceTypeToLGType(type));
}
void cb_spiceData(const SpiceDataType type, uint8_t * buffer, uint32_t size)
void cb_spiceData(const PSDataType type, uint8_t * buffer, uint32_t size)
{
if (!g_params.clipboardToLocal)
return;
@@ -107,7 +107,7 @@ void cb_spiceRelease(void)
g_state.ds->cbRelease();
}
void cb_spiceRequest(const SpiceDataType type)
void cb_spiceRequest(const PSDataType type)
{
if (!g_params.clipboardToVM)
return;