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