Initial commit to new repository
This commit is contained in:
25
.decompiledproj/AxCopilot/Handlers/StarInfoHandler.cs
Normal file
25
.decompiledproj/AxCopilot/Handlers/StarInfoHandler.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using AxCopilot.SDK;
|
||||
|
||||
namespace AxCopilot.Handlers;
|
||||
|
||||
public class StarInfoHandler : IActionHandler
|
||||
{
|
||||
private readonly SystemInfoHandler _inner = new SystemInfoHandler();
|
||||
|
||||
public string? Prefix => "*";
|
||||
|
||||
public PluginMetadata Metadata => new PluginMetadata("StarInfo", "시스템 정보 빠른 조회 — * 단축키 (info와 동일)", "1.0", "AX");
|
||||
|
||||
public Task<IEnumerable<LauncherItem>> GetItemsAsync(string query, CancellationToken ct)
|
||||
{
|
||||
return _inner.GetItemsAsync(query, ct);
|
||||
}
|
||||
|
||||
public Task ExecuteAsync(LauncherItem item, CancellationToken ct)
|
||||
{
|
||||
return _inner.ExecuteAsync(item, ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user