Improve format and error handling
This commit is contained in:
23 files changed
+138
-49
No files matched your search
@@ -34,6 +34,8 @@ public:
|
||||
// MD5 of file contents, computed once during open(). Used as a stable key for
|
||||
// per-book state (bookmarks, etc.) that survives file renames.
|
||||
virtual QByteArray contentHash() = 0;
|
||||
// Returns the lowercase file extension this reader handles (e.g. "txt", "epub").
|
||||
virtual QString fileType() const = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user