xfreerdp: add ParamChange event handler

This commit is contained in:
Marc-André Moreau 2013-06-26 18:57:16 -04:00
parent aa4ce5ee4b
commit c8a09f3f76

View File

@ -1520,6 +1520,18 @@ void xf_TerminateEventHandler(rdpContext* context, TerminateEventArgs* e)
}
}
void xf_ParamChangeEventHandler(rdpContext* context, ParamChangeEventArgs* e)
{
switch (e->id)
{
case FreeRDP_ScalingFactor:
break;
default:
break;
}
}
/**
* Client Interface
*/
@ -1643,6 +1655,7 @@ int xfreerdp_client_new(freerdp* instance, rdpContext* context)
settings->OrderSupport[NEG_ELLIPSE_CB_INDEX] = FALSE;
PubSub_SubscribeTerminate(context->pubSub, (pTerminateEventHandler) xf_TerminateEventHandler);
PubSub_SubscribeParamChange(context->pubSub, (pParamChangeEventHandler) xf_ParamChangeEventHandler);
return 0;
}