 |
LeechCraft Monocle
0.6.70-13605-g8cd066ad6a
Modular document viewer for LeechCraft
|
Go to the documentation of this file.
198 "org.LeechCraft.Monocle.IBackendPlugin/1.0")
virtual QStringList GetSupportedMimes() const =0
Returns the MIME types supported by the backend.
LoadCheckResult
Describes the result of checking whether a file can be loaded.
virtual LoadCheckResult CanLoadDocument(const QString &filename)=0
Checks whether the given document can be loaded.
The file cannot be loaded by this backend, but can be converted to another format.
virtual bool IsThreaded() const
Returns whether the backend supports threads.
std::shared_ptr< IRedirectProxy > IRedirectProxy_ptr
The file cannot be loaded by this backend.
std::shared_ptr< IDocument > IDocument_ptr
Shared pointer to a document.
virtual IRedirectProxy_ptr GetRedirection(const QString &filename)
Returns the redirection proxy for the given document.
virtual IDocument_ptr LoadDocument(const QString &filename)=0
Loads the given document.
virtual ~IBackendPlugin()
Virtual destructor.
Basic interface for plugins providing support for various document formats for Monocle.
The file can be loaded by this backend.