mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Adds book reading support with EPUB and PDF reader plugins
This commit is contained in:
1 parent
275fd83ff2
commit
f7ccdf3d1c
271 files changed
+11501
-361
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Responses.Plugins;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a book reader configured for a media library.
|
||||
/// </summary>
|
||||
/// <param name="PluginId">The unique identifier of the plugin providing the book reader.</param>
|
||||
/// <param name="Name">The display name of the book reader.</param>
|
||||
/// <param name="SupportedExtensions">The file extensions supported by the book reader.</param>
|
||||
/// <param name="IsEnabled">Whether the book reader is enabled for the media library.</param>
|
||||
[DebuggerDisplay("Name: {Name}")]
|
||||
public sealed record LibraryBookReaderResponse(
|
||||
Guid PluginId,
|
||||
string Name,
|
||||
IReadOnlyList<string> SupportedExtensions,
|
||||
bool IsEnabled
|
||||
);
|
||||
Reference in new issue
Block a user