Some refactor

This commit is contained in:
Agel committed 2026-04-08 14:01:03 +02:00
1 parent 7ecb7f4f4f
commit 9280c838b2
37 files changed
+1599 -981

No files matched your search

+4
View File
@@ -1,6 +1,7 @@
#ifndef FORMATREADER_H
#define FORMATREADER_H
#include <QByteArray>
#include <QString>
#include <QList>
@@ -30,6 +31,9 @@ public:
virtual QString title() = 0;
virtual QString author() = 0;
virtual QString coverImagePath() = 0;
// 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;
};