Client OPDS per Calibre Web (Sailfish OS): core C++ testato, UI Silica, packaging RPM

This commit is contained in:
2026-08-12 01:45:31 +02:00
commit 85b4f8e9b9
25 changed files with 1518 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef OPDSPARSER_H
#define OPDSPARSER_H
#include <QByteArray>
#include <QVariantList>
#include <QString>
// Parser minimalista dei feed Atom/OPDS.
// Ogni <entry> diventa un QVariantMap con:
// title, authors, summary, coverUrl, formats (lista di {format, mime, size, url}),
// id, isNavigation, linkUrl
class OpdsParser
{
public:
static bool parse(const QByteArray &xml,
QVariantList *entries,
QString *nextUrl,
QString *feedTitle,
QString *errorMessage);
};
#endif // OPDSPARSER_H