add translator plugin

This commit is contained in:
qianlifeng
2014-01-05 17:56:02 +08:00
parent 07d002da48
commit b2081dcbc9
22 changed files with 820 additions and 47 deletions

View File

@@ -22,11 +22,11 @@ namespace WinAlfred.PluginLoader
ThreadPool.QueueUserWorkItem(o => plugin1.Init(new PluginInitContext()
{
Plugins = plugins,
ChangeQuery = s =>
{
window.tbQuery.Text = s;
window.ShowWinAlfred();
}
ChangeQuery = s => window.ChangeQuery(s),
CloseApp = window.CloseApp,
HideApp = window.HideApp,
ShowApp = window.ShowApp,
ShowMsg = (title,subTitle,iconPath) => window.ShowMsg(title,subTitle,iconPath)
}));
}
}