136 virtual IDocument_ptr
LoadDocument (
const QString& filename) = 0;
198 "org.LeechCraft.Monocle.IBackendPlugin/1.0");
The file cannot be loaded by this backend, but can be converted to another format.
virtual ~IBackendPlugin()
Virtual destructor.
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 bool IsThreaded() const
Returns whether the backend supports threads.
The file cannot be loaded by this backend.
Basic interface for plugins providing support for various document formats for Monocle.
virtual LoadCheckResult CanLoadDocument(const QString &filename)=0
Checks whether the given document can be loaded.
The file can be loaded by this backend.
std::shared_ptr< IRedirectProxy > IRedirectProxy_ptr
Q_DECLARE_INTERFACE(LeechCraft::Monocle::IBackendPlugin,"org.LeechCraft.Monocle.IBackendPlugin/1.0")
Interface for redirect proxy.
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.