diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-08-01 22:46:25 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-08-01 22:46:25 -0500 |
| commit | d1db63a44827d928121be84479e5a22864107881 (patch) | |
| tree | 0b736caa5d325e614eaf62153be883b8044c360e /src/slskd/Application/ISharedFileCache.cs | |
| parent | d2cd2c484def2074dde3f5eb0cec0e473bdb7aad (diff) | |
| download | slskd-d1db63a44827d928121be84479e5a22864107881.tar.gz | |
deprecate SharedFileCache
Diffstat (limited to 'src/slskd/Application/ISharedFileCache.cs')
| -rw-r--r-- | src/slskd/Application/ISharedFileCache.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/slskd/Application/ISharedFileCache.cs b/src/slskd/Application/ISharedFileCache.cs deleted file mode 100644 index 47b16997..00000000 --- a/src/slskd/Application/ISharedFileCache.cs +++ /dev/null @@ -1,37 +0,0 @@ -// <copyright file="ISharedFileCache.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 -{ - using System; - using System.Collections.Generic; - using Soulseek; - - public interface ISharedFileCache - { - event EventHandler<(int Directories, int Files)> Refreshed; - - IEnumerable<string> Shares { get; } - DateTime? LastFill { get; } - long TTL { get; } - - void Fill(); - - IEnumerable<File> Search(SearchQuery query); - IEnumerable<Directory> Browse(); - } -}
\ No newline at end of file |
