Some refactor
This commit is contained in:
37 files changed
+1599
-981
No files matched your search
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user