aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/Search/ISearchService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-05-28 15:02:22 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-05-28 15:02:22 -0500
commitef5371276a7293d464fd058dcfa903072fae67e8 (patch)
tree1ebc5b570e15634fd749b7194c5f463540f0dce2 /src/slskd/Core/Search/ISearchService.cs
parent770e931191983638dd3c422720af014779ad75ad (diff)
downloadslskd-ef5371276a7293d464fd058dcfa903072fae67e8.tar.gz
polish SearchService
Diffstat (limited to 'src/slskd/Core/Search/ISearchService.cs')
-rw-r--r--src/slskd/Core/Search/ISearchService.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/slskd/Core/Search/ISearchService.cs b/src/slskd/Core/Search/ISearchService.cs
deleted file mode 100644
index 44d3edb9..00000000
--- a/src/slskd/Core/Search/ISearchService.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-// <copyright file="ISearchService.cs" company="slskd Team">
-// Copyright (c) slskd Team. All rights reserved.
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as published
-// by the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see https://www.gnu.org/licenses/.
-// </copyright>
-
-namespace slskd.Search
-{
- using System;
- using System.Linq.Expressions;
- using System.Threading.Tasks;
- using Soulseek;
-
- public interface ISearchService
- {
- Task<Search> SearchAsync(Guid id, SearchQuery query, SearchScope scope, SearchOptions options = null);
- bool TryCancel(Guid id);
- Task<Search> FindAsync(Expression<Func<Search, bool>> expression, bool includeResponses = false);
- }
-}