aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/ISharedFileCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/ISharedFileCache.cs')
-rw-r--r--src/slskd/ISharedFileCache.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/slskd/ISharedFileCache.cs b/src/slskd/ISharedFileCache.cs
new file mode 100644
index 00000000..f3c75f71
--- /dev/null
+++ b/src/slskd/ISharedFileCache.cs
@@ -0,0 +1,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);
+ }
+} \ No newline at end of file