28 lines
826 B
C#
28 lines
826 B
C#
|
|
using Avalonia_Services.Core;
|
||
|
|
|
||
|
|
namespace Avalonia_Services.Services.FileLibrary
|
||
|
|
{
|
||
|
|
public interface IFileLibraryEndpointService
|
||
|
|
{
|
||
|
|
Task<object?> GetDrivesAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> GetDirectoriesAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> GetRootsAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> AddRootAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> SetRootEnabledAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> DeleteRootAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> ScanRootAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> SearchFilesAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> GetFileAsync(ServiceEndpointContext ctx);
|
||
|
|
|
||
|
|
Task<object?> GetTextPreviewAsync(ServiceEndpointContext ctx);
|
||
|
|
}
|
||
|
|
}
|