mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Add drop event [WIP]
This commit is contained in:
@@ -103,6 +103,7 @@ namespace Wox.Plugin.Program
|
||||
public void Init(PluginInitContext context)
|
||||
{
|
||||
this.context = context;
|
||||
this.context.API.ResultItemDropEvent += API_ResultItemDropEvent;
|
||||
using (new Timeit("Preload programs"))
|
||||
{
|
||||
programs = ProgramCacheStorage.Instance.Programs;
|
||||
@@ -114,6 +115,11 @@ namespace Wox.Plugin.Program
|
||||
}
|
||||
}
|
||||
|
||||
void API_ResultItemDropEvent(Result result, IDataObject dropObject)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void IndexPrograms()
|
||||
{
|
||||
lock (lockObject)
|
||||
|
||||
Reference in New Issue
Block a user