38 static inline QByteArray
PluginClass =
"org.LeechCraft.Monocle.IBackendPlugin";
Basic interface for plugins providing support for various document formats for Monocle.
virtual ~IBackendPlugin()=default
virtual QStringList GetSupportedMimes() const =0
Returns the MIME types supported by the backend.
virtual bool CanLoadDocument(const QString &filename)=0
Checks whether the given document can be loaded.
static QByteArray PluginClass
virtual IDocument_ptr LoadDocument(const QString &filename)=0
Loads the given document.
std::shared_ptr< IDocument > IDocument_ptr
Shared pointer to a document.