FileShare/Avalonia-Services/Services/FileLibrary/IFileLibraryEndpointService.cs

28 lines
826 B
C#
Raw Normal View History

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);
}
}