Commit a60f3273 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf: Hook up ITfLanguageProfileNotifySink::OnLanguageChange.

parent 30a92641
...@@ -491,8 +491,22 @@ static HRESULT WINAPI InputProcessorProfiles_GetCurrentLanguage( ...@@ -491,8 +491,22 @@ static HRESULT WINAPI InputProcessorProfiles_GetCurrentLanguage(
static HRESULT WINAPI InputProcessorProfiles_ChangeCurrentLanguage( static HRESULT WINAPI InputProcessorProfiles_ChangeCurrentLanguage(
ITfInputProcessorProfiles *iface, LANGID langid) ITfInputProcessorProfiles *iface, LANGID langid)
{ {
struct list *cursor;
InputProcessorProfiles *This = (InputProcessorProfiles*)iface; InputProcessorProfiles *This = (InputProcessorProfiles*)iface;
BOOL accept;
FIXME("STUB:(%p)\n",This); FIXME("STUB:(%p)\n",This);
LIST_FOR_EACH(cursor, &This->LanguageProfileNotifySink)
{
InputProcessorProfilesSink* sink = LIST_ENTRY(cursor,InputProcessorProfilesSink,entry);
accept = TRUE;
ITfLanguageProfileNotifySink_OnLanguageChange(sink->interfaces.pITfLanguageProfileNotifySink, langid, &accept);
if (!accept)
return E_FAIL;
}
/* TODO: On successful language change call OnLanguageChanged sink */
return E_NOTIMPL; return E_NOTIMPL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment