aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/ISharedFileCache.cs
blob: f3c75f71b3515f02481097bacdd5e95acd7dd538 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace slskd
{
    using Soulseek;
    using System;
    using System.Collections.Generic;

    internal interface ISharedFileCache
    {
        string Directory { get; }
        DateTime? LastFill { get; }
        long TTL { get; }

        void Fill();

        IEnumerable<Soulseek.File> Search(SearchQuery query);
    }
}