Skip to content

Commit aa0f9b2

Browse files
committed
Update name
1 parent e0721aa commit aa0f9b2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Flow.Launcher.Plugin/Interfaces/IAsyncEmptyQuery.cs renamed to Flow.Launcher.Plugin/Interfaces/IAsyncHomeQuery.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ namespace Flow.Launcher.Plugin
77
/// <summary>
88
/// Asynchronous Query Model for Flow Launcher When Query Text is Empty
99
/// </summary>
10-
public interface IAsyncEmptyQuery
10+
public interface IAsyncHomeQuery
1111
{
1212
/// <summary>
1313
/// Asynchronous Querying When Query Text is Empty
1414
/// </summary>
1515
/// <para>
1616
/// If the Querying method requires high IO transmission
17-
/// or performing CPU intense jobs (performing better with cancellation), please use this IAsyncEmptyQuery interface
17+
/// or performing CPU intense jobs (performing better with cancellation), please use this IAsyncHomeQuery interface
1818
/// </para>
1919
/// <param name="token">Cancel when querying job is obsolete</param>
2020
/// <returns></returns>
21-
Task<List<Result>> EmptyQueryAsync(CancellationToken token);
21+
Task<List<Result>> HomeQueryAsync(CancellationToken token);
2222
}
2323
}

Flow.Launcher.Plugin/Interfaces/IEmptyQuery.cs renamed to Flow.Launcher.Plugin/Interfaces/IHomeQuery.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ namespace Flow.Launcher.Plugin
88
/// Synchronous Query Model for Flow Launcher When Query Text is Empty
99
/// <para>
1010
/// If the Querying method requires high IO transmission
11-
/// or performaing CPU intense jobs (performing better with cancellation), please try the IAsyncEmptyQuery interface
11+
/// or performaing CPU intense jobs (performing better with cancellation), please try the IAsyncHomeQuery interface
1212
/// </para>
1313
/// </summary>
14-
public interface IEmptyQuery : IAsyncEmptyQuery
14+
public interface IHomeQuery : IAsyncHomeQuery
1515
{
1616
/// <summary>
1717
/// Querying When Query Text is Empty
@@ -21,8 +21,8 @@ public interface IEmptyQuery : IAsyncEmptyQuery
2121
/// </para>
2222
/// </summary>
2323
/// <returns></returns>
24-
List<Result> EmptyQuery();
24+
List<Result> HomeQuery();
2525

26-
Task<List<Result>> IAsyncEmptyQuery.EmptyQueryAsync(CancellationToken token) => Task.Run(EmptyQuery);
26+
Task<List<Result>> IAsyncHomeQuery.HomeQueryAsync(CancellationToken token) => Task.Run(HomeQuery);
2727
}
2828
}

0 commit comments

Comments
 (0)