aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs
diff options
context:
space:
mode:
authorEmmanuel Hansen <emmausssss@gmail.com>2023-05-04 14:26:10 +0000
committerGitHub <noreply@github.com>2023-05-04 16:26:10 +0200
commit42507323535443ad79be071367f3d4815afca688 (patch)
treee7d4083f2e29b17b5b17ffed1ebc0501414c6437 /src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs
parent4d1579acbf60ff23f14b591db762267f93092d0c (diff)
bcat ipc (#4446)1.1.749
Diffstat (limited to 'src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs')
-rw-r--r--src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs
new file mode 100644
index 00000000..a1e5d43b
--- /dev/null
+++ b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs
@@ -0,0 +1,15 @@
+using LibHac.Bcat;
+using Ryujinx.Horizon.Common;
+using Ryujinx.Horizon.Sdk.Sf;
+using System;
+
+namespace Ryujinx.Horizon.Sdk.Bcat
+{
+ internal interface IDeliveryCacheFileService : IServiceObject
+ {
+ Result GetDigest(out Digest digest);
+ Result GetSize(out long size);
+ Result Open(DirectoryName directoryName, FileName fileName);
+ Result Read(long offset, out long bytesRead, Span<byte> data);
+ }
+}